diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2021-12-11 15:13:57 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2021-12-11 15:15:50 +0300 |
commit | 9b624049a5a5100374fa53fecce3b8ea3b1e39da (patch) | |
tree | c3abb31911dfa4bf93d38e546892c0c771072538 | |
parent | 14392a6e0e74d665042e55dda610a5a5bdbbc054 (diff) |
Immediately disconnect connection on disconnect request.
The disconnect handling logic is broken on the client, after the symbol
resolution was moved to a separate thread. Use workaround until a proper fix
is available.
-rw-r--r-- | server/TracyWorker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index ec518a01..f3026984 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -7738,7 +7738,8 @@ void Worker::ReadTimeline( FileRead& f, Vector<short_ptr<GpuEvent>>& _vec, uint6 void Worker::Disconnect() { - Query( ServerQueryDisconnect, 0 ); + //Query( ServerQueryDisconnect, 0 ); + Shutdown(); m_disconnect = true; } |