Make Service.interrupt async

This commit is contained in:
dasha_uwu
2025-08-24 02:30:47 +05:00
parent 3a1649bcaf
commit f51a7b12b5
5 changed files with 8 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ impl crate::Service for Service {
Ok(())
}
fn interrupt(&self) {
async fn interrupt(&self) {
let (timer_sender, _) = &self.timer_channel;
if !timer_sender.is_closed() {
timer_sender.close();