mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
break loop on empty response
This commit is contained in:
@@ -3253,8 +3253,8 @@ static void accounts_jsonrpc_thread_func(void* arg)
|
||||
}
|
||||
response = dc_get_next_json_response(dcn_accounts->jsonrpc_instance);
|
||||
if (response == NULL) {
|
||||
//TRACE("received NULL event, skipping");
|
||||
continue;
|
||||
// done or broken
|
||||
break;
|
||||
}
|
||||
|
||||
if (!dcn_accounts->threadsafe_jsonrpc_handler) {
|
||||
|
||||
Reference in New Issue
Block a user