Skip to content

Commit 001b766

Browse files
committed
7.991: should fix mysterious crashing of 4 servers at once.
1 parent 8ae06ff commit 001b766

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

INDEV

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2211,6 +2211,8 @@ CHANGES:
22112211
99. updated Evented::API::Engine which solves some really bad bugs in RELOAD.
22122212
updated Reload module accordingly.
22132213

2214+
991. should fix mysterious crashing of 4 servers at once.
2215+
22142216

22152217

22162218

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.99
1+
7.991

lib/connection.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ sub done {
301301
# remove from connection list
302302
$::pool->delete_connection($connection) if $connection->{pool};
303303

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

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

0 commit comments

Comments
 (0)