Permalink
Browse files

Resolve rt.cpan.org ticket 34803. Apocalypse pointed out that

$_[KERNEL]->signal(DIE => $_[KERNEL]) would lock up and chew up memory
and CPU.  Very bad bug.  Resolved now, thanks!
  • Loading branch information...
1 parent a950f4a commit fc1ad531648e703249ec695507a09193e2e6ed1e @rcaputo committed Apr 20, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/POE/Kernel.pm
View
@@ -926,7 +926,7 @@ sub _dispatch_event {
if ($signal eq "DIE") {
my $next_target = $self->_data_ses_get_parent($session);
- while ($next_target != $self) {
+ while (defined($next_target) and $next_target != $self) {
unshift @touched_sessions, $next_target;
$next_target = $self->_data_ses_get_parent($next_target);
}

0 comments on commit fc1ad53

Please sign in to comment.