diff options
-rw-r--r-- | examples/async/eratosthenes/eratosthenes_asyncio.py | 2 | ||||
-rw-r--r-- | examples/async/minimal/minimal_asyncio.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/async/eratosthenes/eratosthenes_asyncio.py b/examples/async/eratosthenes/eratosthenes_asyncio.py index 598d9b4bd..c5d7fc2fe 100644 --- a/examples/async/eratosthenes/eratosthenes_asyncio.py +++ b/examples/async/eratosthenes/eratosthenes_asyncio.py @@ -131,4 +131,4 @@ if __name__ == "__main__": main_window.show() - QtAsyncio.run(eratosthenes.start()) + QtAsyncio.run(eratosthenes.start(), handle_sigint=True) diff --git a/examples/async/minimal/minimal_asyncio.py b/examples/async/minimal/minimal_asyncio.py index 1b72f44c1..a6c4708b3 100644 --- a/examples/async/minimal/minimal_asyncio.py +++ b/examples/async/minimal/minimal_asyncio.py @@ -37,4 +37,4 @@ if __name__ == "__main__": main_window = MainWindow() main_window.show() - QtAsyncio.run() + QtAsyncio.run(handle_sigint=True) |