0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix(rpc): remove of calling "close" and waiting for gui_is_alive

This commit is contained in:
2024-06-25 15:22:29 +02:00
parent 2650c8b8cf
commit f75fc19c5b

View File

@ -203,10 +203,6 @@ class BECGuiClientMixin:
if self._process is None:
return
self._run_rpc("close", (), wait_for_rpc_response=False)
while self.gui_is_alive():
time.sleep(0.2)
self._client.shutdown()
if self._process:
self._process.terminate()