Final note about the potential QLocalServer::removeServer problem

This commit is contained in:
Itay Grudev 2024-05-20 20:18:45 +03:00
parent d15fa8feac
commit 594afac7e4

6
TODO
View File

@ -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.
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:
SingleApplicationPrivate::randomSleep();
quint16 SingleApplicationPrivate::blockChecksum()