Fixed regression in resource file transfers

This commit is contained in:
Mark Qvist
2026-01-08 12:38:21 +01:00
parent 34fd72dc97
commit 9e18a6d1a8
3 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -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)