From: miker Date: Tue, 1 Mar 2005 22:59:27 +0000 (+0000) Subject: using disconnect before kill_me during non-error destruction on the server side X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e1901eaebeec9302baf5def6f7ef479966d273a0;p=working%2FOpenSRF.git using disconnect before kill_me during non-error destruction on the server side git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@143 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm b/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm index 73a82b9..27de89f 100644 --- a/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm +++ b/src/perlmods/OpenSRF/DomainObject/oilsMessage.pm @@ -194,7 +194,7 @@ sub do_server { if ($mtype eq 'DISCONNECT') { - $session->state( $session->DISCONNECTED ); + $session->disconnect; $session->kill_me; return 0; }