Skip to content

Commit

Permalink
Fix racecondition triggered KeyError in our DebugThread.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcik committed Dec 27, 2012
1 parent 8a0c48e commit ce750dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mopidy/utils/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def run(self):
stack = ''.join(traceback.format_stack(frame))
logger.debug(
'Current state of %s (%s):\n%s',
threads[ident], ident, stack)
threads.get(ident, '?'), ident, stack)
del frame

self.event.clear()

0 comments on commit ce750dd

Please sign in to comment.