mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 17:05:16 -04:00
cleanup the ephemeral hidden service when GUI server is stopped, but don't disconnect from Tor
This commit is contained in:
parent
c9190f9d9a
commit
a12f9ed4d8
2 changed files with 23 additions and 18 deletions
|
@ -354,6 +354,8 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
# Probably we had no port to begin with (Onion service didn't start)
|
||||
pass
|
||||
self.app.cleanup()
|
||||
# Remove ephemeral service, but don't disconnect from Tor
|
||||
self.onion.cleanup(stop_tor=False)
|
||||
self.filesize_warning.hide()
|
||||
self.stop_server_finished.emit()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue