1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-13 02:33:03 +01:00

need mutexes

This commit is contained in:
Jfreegman 2014-06-30 11:42:11 -04:00
parent 7ae807002e
commit 44d524134f
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -462,8 +462,11 @@ static void load_data(Tox *m, char *path)
static void do_toxic(Tox *m, ToxWindow *prompt)
{
pthread_mutex_lock(&Winthread.lock);
do_connection(m, prompt);
do_file_senders(m);
pthread_mutex_unlock(&Winthread.lock);
tox_do(m); /* main tox-core loop */
}