mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-28 02:28:10 -07:00
Fixed regression in resource file transfers
This commit is contained in:
+2
-1
@@ -1093,7 +1093,8 @@ class Resource:
|
||||
if self.callback != None:
|
||||
try:
|
||||
self.link.resource_concluded(self)
|
||||
self.callback(self)
|
||||
def job(): self.callback(self)
|
||||
threading.Thread(target=job, daemon=True).start()
|
||||
except Exception as e:
|
||||
RNS.log("Error while executing callbacks on resource reject from "+str(self)+". The contained exception was: "+str(e), RNS.LOG_ERROR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user