mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove class variable from connectionlistener
This commit is contained in:
parent
f116122943
commit
1bb50ab08e
@ -52,9 +52,7 @@ def synchronous(tlockname):
|
|||||||
return _synched
|
return _synched
|
||||||
|
|
||||||
|
|
||||||
class ConnectionListener (Thread):
|
class ConnectionListener(Thread):
|
||||||
|
|
||||||
all_ip_addresses = dict()
|
|
||||||
|
|
||||||
NOT_SERVICED_COUNT = 6
|
NOT_SERVICED_COUNT = 6
|
||||||
|
|
||||||
@ -63,7 +61,7 @@ class ConnectionListener (Thread):
|
|||||||
self.daemon = True
|
self.daemon = True
|
||||||
self.driver = driver
|
self.driver = driver
|
||||||
self.keep_running = True
|
self.keep_running = True
|
||||||
all_ip_addresses = dict()
|
self.all_ip_addresses = dict()
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self.keep_running = False
|
self.keep_running = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user