mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
node: break the loop if dc_accounts_get_next_event() returns NULL
This commit is contained in:
@@ -3103,8 +3103,8 @@ static void accounts_event_handler_thread_func(void* arg)
|
||||
}
|
||||
event = dc_accounts_get_next_event(dc_accounts_event_emitter);
|
||||
if (event == NULL) {
|
||||
//TRACE("received NULL event, skipping");
|
||||
continue;
|
||||
TRACE("no more events");
|
||||
break;
|
||||
}
|
||||
|
||||
if (!dcn_accounts->threadsafe_event_handler) {
|
||||
|
||||
Reference in New Issue
Block a user