1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-29 13:07:47 +02: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 */
}