diff --git a/qasync/__init__.py b/qasync/__init__.py index 732f7a2..ded80ef 100644 --- a/qasync/__init__.py +++ b/qasync/__init__.py @@ -801,6 +801,8 @@ def _error_handler(task): task.result() except Exception: sys.excepthook(*sys.exc_info()) + except asyncio.CancelledError: + pass def outer_decorator(fn): @Slot(*args, **kwargs)