Allow checking if disconnect was requested.

This commit is contained in:
Bartosz Taudul 2021-04-01 20:16:29 +02:00
parent e6398250ca
commit 9b7f759347
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -569,6 +569,7 @@ public:
bool IsBackgroundDone() const { return m_backgroundDone.load( std::memory_order_relaxed ); }
void Shutdown() { m_shutdown.store( true, std::memory_order_relaxed ); }
void Disconnect();
bool WasDisconnectIssued() const { return m_disconnect; }
void Write( FileWrite& f );
int GetTraceVersion() const { return m_traceVersion; }