Commit eae1735e authored by Michael Gray's avatar Michael Gray
Browse files

Z:Protocol: don't tear down the connection too soon on 'goodbye'.

parent b94fb070
......@@ -228,7 +228,8 @@ sub _request {
when ('goodbye') {
$self->server->zircon_server_goodbye;
$self->close;
$self->{'is_open'} = 0; # mark us closed
$self->connection->after( sub { $self->close; } ); # schedule teardown
my $message = "goodbye received, goodbye";
return $self->message_ok($message);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment