X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fconnect.pl;h=d4a11d2ab7b03fb8c3eb15dc8ac8c71b9cccbcce;hb=9e13a6bbc1394541f11c75a82805a6e4966e3e9c;hp=14f94bb3e4a93c31924091dc7b4b500dac28ff6f;hpb=dc999e28c96ebb4589dbdda8435a548ade15a37d;p=spider.git diff --git a/cmd/connect.pl b/cmd/connect.pl index 14f94bb3..d4a11d2a 100644 --- a/cmd/connect.pl +++ b/cmd/connect.pl @@ -22,6 +22,7 @@ if (defined $pid) { eval "{ package DB; sub DB {} }"; alarm(0); DXChannel::closeall(); + Msg::close_server(); $SIG{CHLD} = $SIG{TERM} = $SIG{INT} = $SIG{__WARN__} = 'DEFAULT'; exec $prog, $call, 'connect'; } else {