1
0

no daemon

This commit is contained in:
ThomasV
2012-11-24 20:31:07 +01:00
parent 0ad7f72d3d
commit 9afbf21197
4 changed files with 17 additions and 10 deletions

View File

@@ -495,6 +495,11 @@ class Interface(threading.Thread):
self.is_connected = False # this exits the polling loop
self.trigger_callback('disconnecting') # for actively disconnecting
def stop(self):
if self.protocol in 'st' and self.s:
self.s.shutdown(socket.SHUT_RDWR)
self.s.close()
def get_servers_list(self):
plist = {}