mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-13 08:40:29 +00:00
do not terminate child process explicitly
This feature sometimes causes the main process termination. Since the child process has been already terminated (or going to) there is no need to terminate it manually
This commit is contained in:
1 parent
be6cf5b8af
commit
d99091a3b4
2 files changed
-3
No files matched your search
@@ -140,9 +140,7 @@ def test_run_pop(spawner: Spawn) -> None:
|
||||
|
||||
spawner.run()
|
||||
|
||||
first.terminate.assert_called_once_with()
|
||||
first.join.assert_called_once_with()
|
||||
second.terminate.assert_called_once_with()
|
||||
second.join.assert_called_once_with()
|
||||
assert not spawner.active
|
||||
|
||||
|
||||
Reference in new issue
Block a user