diff options
-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 |