Skip to content

Commit

Permalink
Ensure signal targets are run immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveEasley committed Mar 10, 2022
1 parent 66402d5 commit 753a49c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kaleidescape/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .dispatcher import Dispatcher
from .error import KaleidescapeError

__version__ = "1.0.0"
__version__ = "1.0.1"
2 changes: 1 addition & 1 deletion kaleidescape/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ def _call_target(self, target: Callable, *args) -> Awaitable | None:
check_target = check_target.func
if asyncio.iscoroutinefunction(check_target):
return self._loop.create_task(target(*args))
self._loop.call_soon(target, *args)
target(*args)

0 comments on commit 753a49c

Please sign in to comment.