mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +03:00
refactor(deltachat-rpc-client): close stdin instead of sending SIGTERM
This commit is contained in:
@@ -63,7 +63,7 @@ class Rpc:
|
|||||||
self.closing = True
|
self.closing = True
|
||||||
self.stop_io_for_all_accounts()
|
self.stop_io_for_all_accounts()
|
||||||
self.events_thread.join()
|
self.events_thread.join()
|
||||||
self.process.terminate()
|
self.process.stdin.close()
|
||||||
self.reader_thread.join()
|
self.reader_thread.join()
|
||||||
self.request_queue.put(None)
|
self.request_queue.put(None)
|
||||||
self.writer_thread.join()
|
self.writer_thread.join()
|
||||||
|
|||||||
Reference in New Issue
Block a user