mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
python: run and shutdown
This commit is contained in:
@@ -654,9 +654,7 @@ pub unsafe extern "C" fn dc_context_shutdown(context: *mut dc_context_t) {
|
||||
let ffi_context = &*context;
|
||||
|
||||
with_inner_async!(ffi_context, ctx, async move {
|
||||
eprintln!("SHUTDOWN");
|
||||
ctx.stop().await;
|
||||
eprintln!("SHUTDOWN:DONE")
|
||||
})
|
||||
.unwrap_or(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user