From 081881d729fba7b1f3df5e553c62b3094f2a8ec9 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Thu, 1 Aug 2024 18:15:23 +0200 Subject: [PATCH] fix crash --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index e1339dc..0974e18 100644 --- a/src/main.rs +++ b/src/main.rs @@ -119,6 +119,7 @@ async fn main() { loop { if let Err(error) = grab(callback.clone()) { println!("Error: {:?}", error); + return } } });