mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
fix: avoid manual poll impl for accounts events
This commit is contained in:
committed by
GitHub
parent
60a8b47ad0
commit
7786a4ced4
@@ -3576,7 +3576,7 @@ pub unsafe extern "C" fn dc_accounts_get_next_event(
|
||||
if emitter.is_null() {
|
||||
return ptr::null_mut();
|
||||
}
|
||||
let emitter = &*emitter;
|
||||
let emitter = &mut *emitter;
|
||||
|
||||
emitter
|
||||
.recv_sync()
|
||||
|
||||
Reference in New Issue
Block a user