diff options
-rw-r--r-- | protocols/Tox/src/tox_account.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp index 7363f69c7c..2b2d2c2837 100644 --- a/protocols/Tox/src/tox_account.cpp +++ b/protocols/Tox/src/tox_account.cpp @@ -76,6 +76,8 @@ void CToxProto::DoTox() {
uint32_t interval = 50;
{
+ mir_cs(tox_lock);
+
tox_do(tox);
interval = tox_do_interval(tox);
}
|