Change the cleaning-up behavior when an exception occurs
pjueon opened this issue · 3 comments
pjueon commented
In current code, the library cleans up all channels when an exception occurs.
It is probably more reasonable to clean up only the channel where the exception occurred.
pjueon commented
I'll fix this when I get home after vacation.
pjueon commented
Or just don't explicitly clean up any channel (re-throwing only).
The _cleaner object will clean up all the channels at the end of the program.