To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 5185f613 authored by Reto Da Forno's avatar Reto Da Forno

bugfix in serialproxy

parent 7c3deffc
...@@ -247,6 +247,7 @@ class ProxyConnections(): ...@@ -247,6 +247,7 @@ class ProxyConnections():
self.removeHandler(self.obs_socket_list[dc[1]]) self.removeHandler(self.obs_socket_list[dc[1]])
for dc in [c for c in oldconfig if c not in newconfig]: for dc in [c for c in oldconfig if c not in newconfig]:
self.server_socket_process_list[dc[0][1]][0].join() self.server_socket_process_list[dc[0][1]][0].join()
del self.server_socket_process_list[dc[0][1]] # remove the entry from the dictionary
# add new connections # add new connections
for nc in [c for c in newconfig if c not in oldconfig]: for nc in [c for c in newconfig if c not in oldconfig]:
logger.debug("add new connection %s" % str(nc)) logger.debug("add new connection %s" % str(nc))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment