From 425a2310fea38e9cedafa8ceb375862ef1ef4d88 Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 6 Oct 2023 18:44:19 +0000 Subject: [PATCH] refactor(deltachat-rpc-client): close stdin instead of sending SIGTERM --- deltachat-rpc-client/src/deltachat_rpc_client/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py b/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py index a59883e86..506a01a66 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py @@ -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()