fix: sorry WinAPI you are the boss

This commit is contained in:
Qv2ray-dev 2020-06-29 21:14:22 +08:00
parent 43773fb6a0
commit d4147ffdc4
No known key found for this signature in database
GPG Key ID: E7FAEFAFCD031D4B
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
5686 5687

View File

@ -29,7 +29,9 @@ void signalHandler(int signum)
filePath; filePath;
QvMessageBoxWarn(nullptr, "UNCAUGHT EXCEPTION", message); QvMessageBoxWarn(nullptr, "UNCAUGHT EXCEPTION", message);
} }
#ifndef Q_OS_WIN
kill(getpid(), SIGKILL); kill(getpid(), SIGKILL);
#endif
} }
exit(-99); exit(-99);
} }