From f480f9b53746718d149e42c772cef8cbcd18f85a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 18 Mar 2015 11:37:27 +0100 Subject: [PATCH] Log who's logging out before destroying the session --- vroom.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vroom.pl b/vroom.pl index fc386bb..0942bca 100755 --- a/vroom.pl +++ b/vroom.pl @@ -205,8 +205,8 @@ helper logout => sub { $peers->{$self->session('peer_id')}->{socket}){ $peers->{$self->session('peer_id')}->{socket}->finish; } - $self->session( expires => 1 ); $self->app->log->info($self->session('name') . " logged out"); + $self->session( expires => 1 ); return 1; };