mirror of
https://github.com/wez/wezterm.git
synced 2025-01-02 18:51:38 +03:00
software: remove drop handler
This commit is contained in:
parent
950a7d2b22
commit
d543d07c69
@ -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<Config>,
|
||||
|
Loading…
Reference in New Issue
Block a user