Added ability to run local shared instance over abstract domain sockets

This commit is contained in:
Mark Qvist 2025-04-07 00:46:40 +02:00
parent 3483de1fc2
commit 4cd94c776a
4 changed files with 116 additions and 57 deletions

View file

@ -29,6 +29,7 @@ import inspect
import threading
from time import sleep
from .vendor import umsgpack as umsgpack
from RNS.Interfaces.BackboneInterface import BackboneInterface
class Transport:
"""
@ -2706,8 +2707,8 @@ class Transport:
li.detach()
RNS.log("Detaching shared instance", RNS.LOG_DEBUG)
if shared_instance_master != None:
shared_instance_master.detach()
if shared_instance_master != None: shared_instance_master.detach()
BackboneInterface.deregister_listeners()
RNS.log("All interfaces detached", RNS.LOG_DEBUG)