mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-04-20 20:14:45 +08:00
Final note about the potential QLocalServer::removeServer problem
This commit is contained in:
parent
d15fa8feac
commit
594afac7e4
6
TODO
6
TODO
@ -3,6 +3,12 @@ Add an instance counter that pings running secondary instances to ensure they ar
|
|||||||
Run the entire server response logic in a thread, so the SingleApplication primary server is responsive independently of how busy the main thread of the app is.
|
Run the entire server response logic in a thread, so the SingleApplication primary server is responsive independently of how busy the main thread of the app is.
|
||||||
Tests?
|
Tests?
|
||||||
|
|
||||||
|
Rethink the decision to:
|
||||||
|
```cpp
|
||||||
|
QLocalServer::removeServer( blockServerName );
|
||||||
|
```
|
||||||
|
as that may destroy everything if the primary instance doesn't respond within the allocated timeout.
|
||||||
|
|
||||||
REMOVE:
|
REMOVE:
|
||||||
SingleApplicationPrivate::randomSleep();
|
SingleApplicationPrivate::randomSleep();
|
||||||
quint16 SingleApplicationPrivate::blockChecksum()
|
quint16 SingleApplicationPrivate::blockChecksum()
|
||||||
|
Loading…
Reference in New Issue
Block a user