diff options
author | Adrian Herrmann <adrian.herrmann@qt.io> | 2024-01-25 02:05:15 +0100 |
---|---|---|
committer | Adrian Herrmann <adrian.herrmann@qt.io> | 2024-01-30 13:37:44 +0100 |
commit | 3bc157720e37198c99e2d9c8ce38185b894b2fdd (patch) | |
tree | 321744531d5c015f839b7c71ab99824f454a40f0 /examples/scriptableapplication/pythonutils.h | |
parent | e57c5d0adb446c38dccbe9e7e9003e89a33b4c55 (diff) |
QtAsyncio: Introduce quit_qapp argument
A new optional argument quit_qapp can be passed to QtAsyncio.run()
to configure whether the QCoreApplication at the core of QtAsyncio
should be shut down when asyncio finishes. A special case where one
would want to disable this is test suites that want to reuse a single
QCoreApplication instance across all unit tests, which would fail if
this instance is shut down every time.
Pick-to: 6.6
Fixes: PYSIDE-2575
Task-number: PYSIDE-769
Change-Id: I49cd0a50311fb30cc50df9b7f6a6d73fe8c58613
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.h')
0 files changed, 0 insertions, 0 deletions