From e1ba104359b70d83303caaefce4bcf58c9bd6b76 Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Wed, 30 Dec 2015 15:31:42 +0100 Subject: Fixed race conditions --- src/Server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Server.h') 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 m_bRestarting; /** The private key used for the assymetric encryption start in the protocols */ cRsaPrivateKey m_PrivateKey; -- cgit v1.2.3