From 6ad2737d085071451446bb088db7ca2c92bb03b2 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 2 Dec 2017 14:53:38 +1100 Subject: [PATCH] Properly stop the server when the timeout is reached (and reset the interface so we can share again) --- onionshare_gui/onionshare_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index 508db655..e1d07ada 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -390,7 +390,7 @@ class OnionShareGui(QtWidgets.QMainWindow): if self.app.shutdown_timer and self.server_status.timer_enabled: if self.timeout > 0: if not self.app.shutdown_timer.is_alive(): - self.stop_server() + self.server_status.stop_server() self.status_bar.showMessage(strings._('close_on_timeout',True)) self.server_status.shutdown_timeout_reset()