Correclty cleanup packet capture objects when closing server

Fix #592
This commit is contained in:
Julien Duponchelle
2016-08-19 11:05:54 +02:00
parent 8eab94f01e
commit f0fad5289c
5 changed files with 30 additions and 13 deletions

View File

@ -67,3 +67,5 @@ def test_wait_for_process_termination(loop):
exec = wait_for_process_termination(process, timeout=0.5)
with pytest.raises(asyncio.TimeoutError):
loop.run_until_complete(asyncio.async(exec))