summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.h')
-rw-r--r--src/Server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.h b/src/Server.h
index 4d0bc1c18..9131697c2 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -189,7 +189,7 @@ private:
bool m_bIsConnected; // true - connected false - not connected
- bool m_bRestarting;
+ std::atomic<bool> m_bRestarting;
/** The private key used for the assymetric encryption start in the protocols */
cRsaPrivateKey m_PrivateKey;