mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix IPC not taking ownership after crash
In case a previous instance crashed, we were trying to activate the current owner before even checking if it was still alive, this resulted in qTox needing to be restarted twice after a crash.
This commit is contained in:
parent
9cf0cbde6b
commit
af59b5b45a
|
@ -69,7 +69,7 @@ IPC::IPC()
|
|||
return; // We won't be able to do any IPC without being attached, let's get outta here
|
||||
}
|
||||
|
||||
timer.start();
|
||||
processEvents();
|
||||
}
|
||||
|
||||
IPC::~IPC()
|
||||
|
|
Loading…
Reference in New Issue
Block a user