Skip to content

Commit

Permalink
Merge pull request #44 from furbrain/main
Browse files Browse the repository at this point in the history
Fix issue #43
  • Loading branch information
dhalbert authored Jul 8, 2023
2 parents cfb28ea + 83287db commit 18a411e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion asyncio/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,14 @@ def new_event_loop():
the loop's state, it does not create a new one
"""

global _task_queue, _io_queue
global _task_queue, _io_queue, _exc_context, cur_task
# TaskQueue of Task instances
_task_queue = TaskQueue()
# Task queue and poller for stream IO
_io_queue = IOQueue()
cur_task = None
_exc_context['exception'] = None
_exc_context['future'] = None
return Loop


Expand Down

0 comments on commit 18a411e

Please sign in to comment.