From d543d07c692acc4709ebd1b85cecfe217c25c471 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 28 Sep 2019 20:46:31 -0700 Subject: [PATCH] software: remove drop handler --- src/frontend/software/termwindow.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/frontend/software/termwindow.rs b/src/frontend/software/termwindow.rs index a92f5de88..b52e3904f 100644 --- a/src/frontend/software/termwindow.rs +++ b/src/frontend/software/termwindow.rs @@ -250,14 +250,6 @@ impl WindowCallbacks for TermWindow { } } -impl Drop for TermWindow { - fn drop(&mut self) { - if Mux::get().unwrap().is_empty() { - Connection::get().unwrap().terminate_message_loop(); - } - } -} - impl TermWindow { pub fn new_window( config: &Arc,