Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit c401d4073447150a4a0e7f1c99ee001ad73c3885 1 parent cb1f986
Chris Williams authored October 25, 2011

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  t/inc/POE/Component/Server/IRC/Backend.pm
5  t/inc/POE/Component/Server/IRC/Backend.pm
@@ -686,6 +686,11 @@ sub _disconnected {
686 686
         $errstr || 'Client Quit',
687 687
     );
688 688
 
  689
+    if ( $^O =~ /(cygwin|MSWin)/ ) {
  690
+      $conn->{wheel}->shutdown_input();
  691
+      $conn->{wheel}->shutdown_output();
  692
+    }
  693
+
689 694
     return 1;
690 695
 }
691 696
 

0 notes on commit c401d40

Please sign in to comment.
Something went wrong with that request. Please try again.