Permalink
Browse files

Need to explicitly shutdown wheels in poco-server-irc-backend on Cygw…

…in/MSWin32

  Fixes the 04_netsplit.t test on MSWin32 (probably Cygwin as well)
  • Loading branch information...
1 parent cb1f986 commit c401d4073447150a4a0e7f1c99ee001ad73c3885 @bingos committed Oct 25, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 t/inc/POE/Component/Server/IRC/Backend.pm
@@ -686,6 +686,11 @@ sub _disconnected {
$errstr || 'Client Quit',
);
+ if ( $^O =~ /(cygwin|MSWin)/ ) {
+ $conn->{wheel}->shutdown_input();
+ $conn->{wheel}->shutdown_output();
+ }
+
return 1;
}

0 comments on commit c401d40

Please sign in to comment.