diff options
author | Adrian Herrmann <[email protected]> | 2023-10-05 17:57:06 +0200 |
---|---|---|
committer | Adrian Herrmann <[email protected]> | 2023-10-10 16:01:46 +0200 |
commit | caea287e8250dd5a3107e56fb8afe7c53d7866bf (patch) | |
tree | 6b15d8615265e90426e4db3db6cb1aa1d9518dbc | |
parent | 23d21957f59b12250164c188b21e2027a1c67643 (diff) |
async: Remove unneeded signal from example
Remove the unneeded done_signal from the eratosthenes asyncio example.
Pick-to: 6.6
Task-number: PYSIDE-769
Change-Id: I5cc347ebb265e55afa82d37ce07fa2c6378ce133
Reviewed-by: Friedemann Kleint <[email protected]>
-rw-r--r-- | examples/async/eratosthenes/eratosthenes_asyncio.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/async/eratosthenes/eratosthenes_asyncio.py b/examples/async/eratosthenes/eratosthenes_asyncio.py index c7b124587..0cb419817 100644 --- a/examples/async/eratosthenes/eratosthenes_asyncio.py +++ b/examples/async/eratosthenes/eratosthenes_asyncio.py @@ -63,8 +63,6 @@ class MainWindow(QMainWindow): class Eratosthenes(QObject): - done_signal = Signal() - """ This Sieve of Eratosthenes runs on a configurable tick (default 0.1 seconds). At each tick, a new subroutine will be created that will check multiples of the next prime number. Each of @@ -122,10 +120,6 @@ class Eratosthenes(QObject): "🥳 Congratulations! You found all the prime numbers and solved mathematics. 🥳" ) - # This signals to the guest run when there are no more asyncio tasks - # left so its event loop can finish. - self.done_signal.emit() - if __name__ == "__main__": rows = 40 |