fix spurious mojo close error on client
[spider.git] / perl / Msg.pm
index cd5dd051b8c384f0011fdd496335c2638d9f9570..1f0da5f44cbf0d4b6c0ccff9e0f15753303b0f8c 100644 (file)
@@ -266,7 +266,7 @@ sub disconnect
        }
 
        if (defined($sock)) {
-               $sock->close;
+               undef $sock;
        }
        
        unless ($main::is_win) {