fix issue #1238
This commit is contained in:
parent
48ad7c36a8
commit
117b809bab
|
@ -167,7 +167,7 @@ class NetworkServer(util.DaemonThread):
|
||||||
m = response.get('method')
|
m = response.get('method')
|
||||||
v = response.get('params')
|
v = response.get('params')
|
||||||
for client in self.clients:
|
for client in self.clients:
|
||||||
if repr((m, v)) in client.subscriptions:
|
if repr((m, v)) in client.subscriptions or m == 'network.status':
|
||||||
client.response_queue.put(response)
|
client.response_queue.put(response)
|
||||||
self.network.stop()
|
self.network.stop()
|
||||||
print_error("server exiting")
|
print_error("server exiting")
|
||||||
|
|
Loading…
Reference in New Issue