Core/Misc: Fix abort() on shutdown on *nix

Wait for cliThead to exit before deleting it to about std::abort() triggered on *nix systems.
This commit is contained in:
jackpoz
2014-07-17 19:55:55 +02:00
parent 784676859b
commit fe1289ed1a

View File

@@ -311,11 +311,8 @@ extern int main(int argc, char** argv)
b[3].Event.KeyEvent.wRepeatCount = 1;
DWORD numb;
WriteConsoleInput(hStdIn, b, 4, &numb);
cliThread->join();
#endif
cliThread->join();
delete cliThread;
}