mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-10 07:10:31 -04:00
remove shutdown_timeout logic in the web server, it's not actually needed
This commit is contained in:
parent
32108dcca2
commit
a4b8a71c68
3 changed files with 3 additions and 12 deletions
|
@ -258,7 +258,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
self.app.stay_open = not self.settings.get('close_after_first_download')
|
||||
|
||||
# start onionshare http service in new thread
|
||||
t = threading.Thread(target=web.start, args=(self.app.port, self.app.stay_open, self.app.shutdown_timeout))
|
||||
t = threading.Thread(target=web.start, args=(self.app.port, self.app.stay_open))
|
||||
t.daemon = True
|
||||
t.start()
|
||||
# wait for modules in thread to load, preventing a thread-related cx_Freeze crash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue