Skip to content

Commit 4e7bc39

Browse files
committed
Revert 38d62e1 :: Use RunLocal, not TaskLocal
1 parent 27418f5 commit 4e7bc39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trio_asyncio/loop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class _TrioPolicy(asyncio.events.BaseDefaultEventLoopPolicy):
3636

3737
def __init__(self):
3838
super().__init__()
39-
self._trio_local = trio.hazmat.RunLocal(_loop=None, _task=False)
39+
self._trio_local = trio.TaskLocal(_loop=None, _task=False)
4040

4141
def new_event_loop(self):
4242
try:

0 commit comments

Comments
 (0)