mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-05 09:53:33 +03:00
parent
8507ba048d
commit
bf24f8460b
@ -30,6 +30,7 @@ class _EDProxy:
|
|||||||
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
self.root = None
|
||||||
self.lock = threading.Lock()
|
self.lock = threading.Lock()
|
||||||
self.addr = None
|
self.addr = None
|
||||||
self.port = None
|
self.port = None
|
||||||
@ -54,7 +55,8 @@ class _EDProxy:
|
|||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
# Still listening, but stop callbacks
|
# Still listening, but stop callbacks
|
||||||
self.root.unbind_all('<<ProxyJump>>')
|
if self.root:
|
||||||
|
self.root.unbind_all('<<ProxyJump>>')
|
||||||
|
|
||||||
def status(self):
|
def status(self):
|
||||||
self.lock.acquire()
|
self.lock.acquire()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user