Commit a65de423 authored by Julien Muchembled's avatar Julien Muchembled

Fix resource leak preventing running several tests on the same machine

Subprocesses should free file descriptors (here a system-wide lock)
they don't need.

git-svn-id: 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent cf32e594
......@@ -163,6 +163,9 @@ class NEOProcess(object):
# prevent child from killing anything
del self.__class__.__del__
# release system-wide lock
for allocator in PortAllocator.allocator_set.copy():
sys.argv = [command] + args
getattr(neo.scripts, command).main()
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