refactor(deltachat-rpc-client): close stdin instead of sending SIGTERM

This commit is contained in:
link2xt
2023-10-06 18:44:19 +00:00
parent 95571be278
commit 425a2310fe

View File

@@ -63,7 +63,7 @@ class Rpc:
self.closing = True
self.stop_io_for_all_accounts()
self.events_thread.join()
self.process.terminate()
self.process.stdin.close()
self.reader_thread.join()
self.request_queue.put(None)
self.writer_thread.join()