fix crash
This commit is contained in:
parent
83fdad8c2c
commit
081881d729
|
@ -119,6 +119,7 @@ async fn main() {
|
||||||
loop {
|
loop {
|
||||||
if let Err(error) = grab(callback.clone()) {
|
if let Err(error) = grab(callback.clone()) {
|
||||||
println!("Error: {:?}", error);
|
println!("Error: {:?}", error);
|
||||||
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue