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 committed 2014-07-17 20:54:32 +02:00
1 parent 784676859b
commit fe1289ed1a
1 file changed
+1 -4
+1 -4
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;
}