fix problem with things banging out and leaving stuff in the input queue
[spider.git] / perl / DXChannel.pm
index 9ef0cec243671b78dafffd5ab306cb7c33cc3d4c..3b3ac62f13b84e193c0ff661981d3ba3a7981616 100644 (file)
@@ -426,6 +426,7 @@ sub disconnect
        my $self = shift;
        my $user = $self->{user};
        
+       main::clean_inqueue($self);          # clear out any remaining incoming frames
        $user->close() if defined $user;
        $self->{conn}->disconnect;
        $self->del();