From 73071b0755a580fe4c1a5b31f379e34ca619f94a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 15 Oct 2022 14:41:12 +0200 Subject: [PATCH] Cleanup --- RNS/Interfaces/Android/SerialInterface.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RNS/Interfaces/Android/SerialInterface.py b/RNS/Interfaces/Android/SerialInterface.py index 2b664bf..537ba21 100644 --- a/RNS/Interfaces/Android/SerialInterface.py +++ b/RNS/Interfaces/Android/SerialInterface.py @@ -166,9 +166,10 @@ class SerialInterface(Interface): def processIncoming(self, data): - self.rxb += len(data) - self.owner.inbound(data, self) - + self.rxb += len(data) + def af(): + self.owner.inbound(data, self) + threading.Thread(target=af, daemon=True).start() def processOutgoing(self,data): if self.online: