- attempt to fix client timeout issues in client connected menu when downloading files

This commit is contained in:
Mark Vejvoda 2012-10-15 08:17:31 +00:00
parent fc07549761
commit 646a066ec4
1 changed files with 3 additions and 0 deletions

View File

@ -582,6 +582,7 @@ pair<FTP_Client_ResultType,string> FTPClientThread::getTilesetFromServer(
ftp_cct_ExtractProgress,
make_pair(ftp_crt_SUCCESS,"extracting"),NULL);
}
safeMutex.ReleaseLock();
if(executeShellCommand(extractCmd,this->fileArchiveExtractCommandSuccessResult,this) == false) {
result.first = ftp_crt_FAIL;
@ -706,6 +707,7 @@ pair<FTP_Client_ResultType,string> FTPClientThread::getTechtreeFromServer(pair<
ftp_cct_ExtractProgress,
make_pair(ftp_crt_SUCCESS,"extracting"),NULL);
}
safeMutex.ReleaseLock();
if(executeShellCommand(extractCmd,this->fileArchiveExtractCommandSuccessResult,this) == false) {
result.first = ftp_crt_FAIL;
@ -778,6 +780,7 @@ pair<FTP_Client_ResultType,string> FTPClientThread::getScenarioInternalFromServ
ftp_cct_ExtractProgress,
make_pair(ftp_crt_SUCCESS,"extracting"),NULL);
}
safeMutex.ReleaseLock();
if(executeShellCommand(extractCmd,this->fileArchiveExtractCommandSuccessResult,this) == false) {
result.first = ftp_crt_FAIL;