From 6e6ad7bf49f3517c2e8f69e6376a601aa404f668 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 29 Jul 2021 21:18:11 +0200 Subject: fix: close driver before close the running software --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 220b7ce..5dc7607 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,5 +44,7 @@ async fn main() -> Result<(), Box> { .await; log::info!("Closing bot... Goodbye!"); + driver.quit().await?; + Ok(()) } -- cgit v1.2.3-18-g5258