forked from goodboy/tractor
1
0
Fork 0

Drop breakpoint owned lock

zombie_lord_infinite
Tyler Goodlet 2021-09-30 11:33:07 -04:00
parent 6e646a6fa6
commit f72eabd42a
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ async def _breakpoint(
stats = _debug_lock.statistics() stats = _debug_lock.statistics()
if stats.owner: if stats.owner:
breakpoint() print(f'LOCK STATS: {stats}')
# with trio.CancelScope(shield=True): # with trio.CancelScope(shield=True):
# must shield here to avoid hitting a ``Cancelled`` and # must shield here to avoid hitting a ``Cancelled`` and