mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 20:04:14 -04:00
Add cleanup method for the Meek class to kill any meek-client subprocesses once done. Hide stderr from the CLI printed output
This commit is contained in:
parent
c81862130b
commit
3a715346af
3 changed files with 43 additions and 2 deletions
|
@ -264,6 +264,7 @@ class MoatThread(QtCore.QThread):
|
|||
]
|
||||
},
|
||||
)
|
||||
self.meek.cleanup()
|
||||
if r.status_code != 200:
|
||||
self.common.log("MoatThread", "run", f"status_code={r.status_code}")
|
||||
self.bridgedb_error.emit()
|
||||
|
@ -316,6 +317,7 @@ class MoatThread(QtCore.QThread):
|
|||
]
|
||||
},
|
||||
)
|
||||
self.meek.cleanup()
|
||||
if r.status_code != 200:
|
||||
self.common.log("MoatThread", "run", f"status_code={r.status_code}")
|
||||
self.bridgedb_error.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue