Deprecated data saving fix.

This commit is contained in:
cora32 2015-08-22 00:53:31 +03:00
parent b55618722f
commit 72826577b3

View File

@ -1387,11 +1387,11 @@ void MainStarter::start(const char* targets, const char* ports) {
else if (gMode == 1) startDNSScan();
else startImportScan();
saveBackup = false;
stt->doEmitionYellowFoundData("Stopping threads...");
while (cons > 0 || jsonArr->size() > 0) Sleep(2000);
saveBackupToFile();
saveBackup = false;
thread_cleanup();