mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 13:22:02 +00:00
[common] debug: unwind all threads and print on force quit
This commit is contained in:
@@ -1236,6 +1236,7 @@ void intHandler(int sig)
|
||||
else
|
||||
{
|
||||
DEBUG_INFO("Caught second signal, force quitting...");
|
||||
printAllThreadBacktraces();
|
||||
signal(sig, SIG_DFL);
|
||||
raise(sig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user