Commit 4cc4ed77 authored by Hejing Li's avatar Hejing Li
Browse files

check whether there is socket to delete

for no_simbricks experiments
parent 94f1cf6c
......@@ -292,7 +292,9 @@ class ExperimentBaseRunner(object):
scs = []
for (exec,sock) in self.sockets:
scs.append(exec.rmtree(sock))
await asyncio.wait(scs)
if len(scs):
await asyncio.wait(scs)
# add all simulator components to the output
for sim,sc in self.running:
......
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