Defer rethrowing exceptions until after run() cleans up. Previously
authorRocco Caputo <rcaputo@cpan.org>
Sun, 9 Aug 2009 10:37:09 +0000 (06:37 -0400)
committerRocco Caputo <rcaputo@cpan.org>
Sun, 9 Aug 2009 10:37:09 +0000 (06:37 -0400)
commitde5ceb83bed758f82b1121301c266633a9f3cccf
tree59ab26c43ba4f945c91da8b811eafbf1bcd06236
parent85268fe90bb27f270cb64fb984b7987cf5eee701
Defer rethrowing exceptions until after run() cleans up.  Previously
exceptions would be thrown farther inside POE's dispatcher, preventing
some important cleanup.  This only affects a few people who re-run()
POE::Kernel after an exception or using $kernel->stop().
poe/lib/POE/Kernel.pm
poe/lib/POE/Resource/Events.pm