dev #25

Merged
akulij merged 38 commits from dev into main 2025-06-18 17:10:44 +00:00
Showing only changes of commit c0eb5ba412 - Show all commits

View File

@ -218,9 +218,10 @@ pub async fn spawn_notificator_thread(
rt.block_on(async { rt.block_on(async {
loop { loop {
let r = c.runtime.lock().expect("Poisoned Runtime lock"); let notifications = {
let notifications = r.rc.get_nearest_notifications(); let r = c.runtime.lock().expect("Poisoned Runtime lock");
drop(r); // unlocking mutex r.rc.get_nearest_notifications()
};
match notifications { match notifications {
Some(n) => { Some(n) => {