Commit aca7b13b authored by Valentin Valls's avatar Valentin Valls
Browse files

Close the proxy if possible

parent d2927288
......@@ -312,6 +312,11 @@ class FlintClient:
for s in self._shortcuts:
delattr(self, s)
self._shortcuts = set()
if self._proxy is not None:
try:
self._proxy.close()
except Exception:
pass
self._proxy = None
self._pid = None
self._process = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment