forked from M-Labs/artiq
dashboard: close config RPC Client cleanly at exit
This commit is contained in:
parent
0999f2dd86
commit
10ee3f19a8
|
@ -113,6 +113,7 @@ def main():
|
|||
rpc_clients[target] = client
|
||||
|
||||
config = Client(args.server, args.port_control, "master_config")
|
||||
atexit.register(config.close_rpc)
|
||||
server_name = config.get_name()
|
||||
if server_name is None:
|
||||
server_name = args.server
|
||||
|
|
Loading…
Reference in New Issue