Don't crash when debugging threaded app. #29

Merged
merged 1 commit into from Jan 4, 2012

Conversation

Projects
None yet
2 participants
Contributor

pvaret commented Jan 4, 2012

Due to urwid's use of signals, running PuDB from a thread other than the main thread -- which happens systematically when trying to debug a Zope view -- would cause PuDB to crash.

This patch fixes the issue by allowing the signal installation and restore calls to fail gracefully.

inducer added a commit that referenced this pull request Jan 4, 2012

Merge pull request #29 from pvaret/master
Don't crash when debugging threaded app.

@inducer inducer merged commit 8d0a9a4 into inducer:master Jan 4, 2012

Owner

inducer commented Jan 4, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment