X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=6e7a0944f5461c109d9b4a5d6a5106ba2092515b;hb=795ae12e4dde6a0b5848bfe3d2f3048a671c5fcd;hp=aea2064e615b3754bfb6ec849428211455702d94;hpb=586cbb347e7639f5575b48572e75140501a109c0;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index aea2064e..6e7a0944 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -384,7 +384,7 @@ sub process # # finish up a user context # -sub finish +sub disconnect { my $self = shift; my $call = $self->call; @@ -409,6 +409,8 @@ sub finish Log('DXCommand', "$call disconnected"); my $ref = DXCluster->get_exact($call); $ref->del() if $ref; + + $self->SUPER::disconnect; } #