diff --git a/Cargo.lock b/Cargo.lock index 52efa76..ced3ed9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -212,9 +212,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.97" +version = "0.2.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6" +checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f" [[package]] name = "libm" diff --git a/Cargo.toml b/Cargo.toml index a978baa..14dd1a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,4 +26,4 @@ flume = "0.10.9" [build-dependencies] embed-resource = "1.3" [dev-dependencies] -serde_test = "1.0.*" \ No newline at end of file +serde_test = "1.0.*" diff --git a/src/stremio_app/app.rs b/src/stremio_app/app.rs index c704730..05f1a21 100644 --- a/src/stremio_app/app.rs +++ b/src/stremio_app/app.rs @@ -210,5 +210,6 @@ impl MainWindow { self.window.set_visible(false); self.tray.tray_show_hide.set_checked(self.window.visible()); self.transmit_window_full_screen_change(false); + nwg::stop_thread_dispatch(); } }