remove shutdown_timeout logic in the web server, it's not actually needed

This commit is contained in:
Miguel Jacq 2017-11-09 07:12:00 +11:00
parent 32108dcca2
commit a4b8a71c68
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
3 changed files with 3 additions and 12 deletions

View file

@ -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