Skip to content

Commit

Permalink
Small fix for process termination
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 12, 2024
1 parent 6e7a375 commit b1d403e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbsite/pyodide/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def terminate(cls, *args):
"""
Terminates a running process.
"""
for source in cls._exec_state:
for source in cls._exec_state.copy():
cls._kill(source)

@classmethod
Expand Down

0 comments on commit b1d403e

Please sign in to comment.