mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Add clone stdin to another _process deletion
This commit is contained in:
parent
133e22dbe4
commit
c7cff516e4
1 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,8 @@ class SimpleProcessPlayer(Player): # pylint: disable=abstract-method
|
|||
if self._terminate_flag:
|
||||
self._process.terminate()
|
||||
self._process.wait(1)
|
||||
if self._process.stdin:
|
||||
self._process.stdin.close()
|
||||
self._process = None
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue