mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 07:26:29 +03:00
some cleanup
This commit is contained in:
@@ -128,7 +128,12 @@ impl Context {
|
||||
}
|
||||
|
||||
pub async fn run(&self) {
|
||||
self.inner.scheduler.write().await.run(self.clone()).await
|
||||
let ctx = self.clone();
|
||||
println!("RUN LOCK START");
|
||||
let l = &mut *self.inner.scheduler.write().await;
|
||||
println!("RUN LOCK AQ");
|
||||
l.run(ctx);
|
||||
println!("RUN LOCK DONE");
|
||||
}
|
||||
|
||||
pub async fn stop(&self) {
|
||||
|
||||
Reference in New Issue
Block a user