forked from goodboy/tractor
Fix lock context manager return type
parent
b3d28a1ee4
commit
0afa7f0f8e
|
@ -123,7 +123,9 @@ class PdbwTeardown(pdbpp.Pdb):
|
||||||
|
|
||||||
|
|
||||||
@asynccontextmanager
|
@asynccontextmanager
|
||||||
async def _acquire_debug_lock(uid: Tuple[str, str]) -> AsyncIterator[None]:
|
async def _acquire_debug_lock(
|
||||||
|
uid: Tuple[str, str]
|
||||||
|
) -> AsyncIterator[trio.StrictFIFOLock]:
|
||||||
'''Acquire a actor local FIFO lock meant to mutex entry to a local
|
'''Acquire a actor local FIFO lock meant to mutex entry to a local
|
||||||
debugger entry point to avoid tty clobbering a global root process.
|
debugger entry point to avoid tty clobbering a global root process.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue