summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-12 17:19:31 -0800
committerFuwn <[email protected]>2024-01-12 17:19:31 -0800
commit3b86dbfe913bbf8ae66824556489a4d753b6f3ef (patch)
treecb5b88944bb072411cf221c86ba6591aefa6717e
parentfeat(schedule): today argument as today's day (diff)
downloadrin-3b86dbfe913bbf8ae66824556489a4d753b6f3ef.tar.xz
rin-3b86dbfe913bbf8ae66824556489a4d753b6f3ef.zip
fix(main): wait for geckodriver to be killed
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 38c9103..941b299 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -71,6 +71,7 @@ async fn main() -> WebDriverResult<()> {
schedule::render_markdown(&schedule).await;
driver.quit().await.expect("failed to quit webdriver");
geckodriver.kill().await.expect("failed to kill geckodriver");
+ geckodriver.wait().await.expect("failed to wait for geckodriver");
Ok(())
}