Skip to content

Commit

Permalink
Final note about the potential QLocalServer::removeServer problem
Browse files Browse the repository at this point in the history
  • Loading branch information
itay-grudev committed May 20, 2024
1 parent d15fa8f commit 594afac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 594afac

Please sign in to comment.