Skip to content

Commit

Permalink
7.991: should fix mysterious crashing of 4 servers at once.
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper committed Jun 2, 2014
1 parent 8ae06ff commit 001b766
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions INDEV
Original file line number Diff line number Diff line change
Expand Up @@ -2211,6 +2211,8 @@ CHANGES:
99. updated Evented::API::Engine which solves some really bad bugs in RELOAD.
updated Reload module accordingly.

991. should fix mysterious crashing of 4 servers at once.




Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.99
7.991
3 changes: 2 additions & 1 deletion lib/connection.pm
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ sub done {
# remove from connection list
$::pool->delete_connection($connection) if $connection->{pool};

$connection->{stream}->close_when_empty; # will close it WHEN the buffer is empty
# will close it WHEN the buffer is empty
$connection->{stream}->close_when_empty if $connection->{stream};

# destroy these references, just in case.
delete $connection->{type}{conn};
Expand Down

0 comments on commit 001b766

Please sign in to comment.