mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Don't call server_status.stop_server() twice, which prevents overwriting the status message
This commit is contained in:
parent
e092c50b42
commit
6f526e1dea
@ -177,8 +177,7 @@ class Mode(QtWidgets.QWidget):
|
||||
|
||||
self.status_bar.clearMessage()
|
||||
if not self.app.autostop_timer_thread.is_alive():
|
||||
if self.autostop_timer_finished_should_stop_server():
|
||||
self.server_status.stop_server()
|
||||
self.autostop_timer_finished_should_stop_server()
|
||||
|
||||
def timer_callback_custom(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user