get all the debugging finally into the debug files when things go wrong
[spider.git] / perl / DXChannel.pm
index de9ecaa7540c5a9386853ad4610d19ebd86fbfbf..e60705b147a86e684eccc067f0d4311e4c933682 100644 (file)
@@ -30,7 +30,6 @@ use DXM;
 use DXUtil;
 use DXDebug;
 use Filter;
-use Carp;
 
 use strict;
 use vars qw(%channels %valid);
@@ -346,8 +345,9 @@ sub disconnect
        my $user = $self->{user};
        my $conn = $self->{conn};
        my $call = $self->{call};
+    my $nopc39 = shift || 0;
        
-       $self->finish();
+       $self->finish($nopc39);
        $conn->send_now("Z$call|bye") if $conn; # this will cause 'client' to disconnect
        $user->close() if defined $user;
        $conn->disconnect() if $conn;