From 0890819bc73dff0704cb25fbd5e74bae3ceeb8e4 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 4 Mar 2010 19:31:35 +0000 Subject: [PATCH] Indicate properly that this watch was removed. --- perl/lib/Thrasher/Plugin/Socks.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl/lib/Thrasher/Plugin/Socks.pm b/perl/lib/Thrasher/Plugin/Socks.pm index 0027b11..edf7531 100644 --- a/perl/lib/Thrasher/Plugin/Socks.pm +++ b/perl/lib/Thrasher/Plugin/Socks.pm @@ -447,6 +447,7 @@ sub remove_fd_watch { if ($self->{'watch_id'}) { $self->{EventLoop}->remove_fd_watch($self->{'watch_id'}); + $self->{'watch_id'} = undef; } } -- 2.11.4.GIT