Commit 8c378ced authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f801e574
......@@ -253,7 +253,7 @@ class tDB:
# timeout -> force-umount wcfs
print("\nC: test timed out after %.1fs" % (dt / time.second), file=sys.stderr)
print("-> aborting wcfs fuse connection to unblock ...", file=sys.stderr)
print("-> aborting wcfs fuse connection to unblock ...\n", file=sys.stderr)
t._wcfuseabort.write(b"1\n")
t._wcfuseabort.flush()
......@@ -263,6 +263,7 @@ class tDB:
def close(t):
defer(t._wcfuseabort.close)
defer(t._closed.close)
defer(lambda: dbclose(t.root))
# unmount and wait for wcfs to exit
def _():
......@@ -295,7 +296,6 @@ class tDB:
assert len(t._wlinks) == 0
t._wc_zheadfh.close()
t.wc.close()
dbclose(t.root)
# open opens wcfs file corresponding to zf@at and starts to track it.
# see returned tFile for details.
......
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