mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-25 01:08:10 -07:00
Added local destinations lookup map
This commit is contained in:
+3
-1
@@ -411,7 +411,9 @@ class Destination:
|
||||
else:
|
||||
if packet.packet_type == RNS.Packet.DATA:
|
||||
if self.callbacks.packet != None:
|
||||
try: self.callbacks.packet(plaintext, packet)
|
||||
try:
|
||||
def job(): self.callbacks.packet(plaintext, packet)
|
||||
threading.Thread(target=job, daemon=True).start()
|
||||
except Exception as e:
|
||||
RNS.log("Error while executing receive callback from "+str(self)+". The contained exception was: "+str(e), RNS.LOG_ERROR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user