ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.55 by root, Wed Jul 5 01:53:24 2006 UTC vs.
Revision 1.56 by root, Tue Jul 11 13:27:31 2006 UTC

919sub destroy { 919sub destroy {
920 my ($self) = @_; 920 my ($self) = @_;
921 921
922 #Carp::cluck "debug\n";#d# #todo# enable: destroy gets called twice because scalar keys {} is 1 922 #Carp::cluck "debug\n";#d# #todo# enable: destroy gets called twice because scalar keys {} is 1
923 923
924 $self->{conn}->send ("ext npc_dialog_end $self->{token}") if $self->{token};
924 delete $self->{conn}{npc_dialog}; 925 delete $self->{conn}{npc_dialog};
925 $self->{conn}->disconnect_ext ($self->{token}); 926 $self->{conn}->disconnect_ext ($self->{token});
926 927
927 $self->SUPER::destroy; 928 $self->SUPER::destroy;
928} 929}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines