Terraysnc: don't block requests when inactive.
Add the same check for data files so we don't block when terrasync is disabled.
This commit is contained in:
parent
3c2f97a8d2
commit
4766910413
@ -1086,5 +1086,9 @@ void SGTerraSync::scheduleDataDir(const std::string& dataDir)
|
||||
|
||||
bool SGTerraSync::isDataDirPending(const std::string& dataDir) const
|
||||
{
|
||||
if (!_svnThread->_running) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return (_activeTileDirs.find(dataDir) != _activeTileDirs.end());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user