projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix long standing random abort in DXMsg? got rid of memory leak.
[spider.git]
/
cmd
/
disconnect.pl
diff --git
a/cmd/disconnect.pl
b/cmd/disconnect.pl
index 61ba3bf49ed59f22eacdf5f3cd33584cf11c7fc9..9e6b67dff927a521d5cb7db530927cf6aec8ef4d 100644
(file)
--- a/
cmd/disconnect.pl
+++ b/
cmd/disconnect.pl
@@
-23,6
+23,8
@@
foreach $call (@calls) {
}
$dxchan->disconnect;
push @out, $self->msg('disc2', $call);
}
$dxchan->disconnect;
push @out, $self->msg('disc2', $call);
+ } elsif (my $conn = Msg->conns($call)) {
+ $conn->disconnect;
} else {
push @out, $self->msg('e10', $call);
}
} else {
push @out, $self->msg('e10', $call);
}