From 16ad1b61f2d37241ec585c602650d546d29f3961 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 28 Jul 2015 12:37:40 +0200 Subject: [PATCH] Remove websocket ending on logout --- vroom.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vroom.pl b/vroom.pl index d9b9acb..9efc278 100755 --- a/vroom.pl +++ b/vroom.pl @@ -360,11 +360,6 @@ helper logout => sub { if ($optf->{etherpad} && $self->session($room) && $self->session($room)->{etherpadSessionId}){ $optf->{etherpad}->delete_session($self->session($room)->{etherpadSessionId}); } - if ($self->session('peer_id') && - $peers->{$self->session('peer_id')} && - $peers->{$self->session('peer_id')}->{socket}){ - $peers->{$self->session('peer_id')}->{socket}->finish; - } my $sth = eval { $self->db->prepare('DELETE FROM `api_keys` WHERE `token`=?');