X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=6e7a0944f5461c109d9b4a5d6a5106ba2092515b;hb=d4c958444110a264159a982ca6d7bdeb80defabb;hp=aea2064e615b3754bfb6ec849428211455702d94;hpb=5d2f2feddd2c756e43868f62f72b3c5033c3d3a7;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; } #