using disconnect before kill_me during non-error destruction on the server side
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Mar 2005 22:59:27 +0000 (22:59 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 1 Mar 2005 22:59:27 +0000 (22:59 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@143 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/DomainObject/oilsMessage.pm

index 73a82b9..27de89f 100644 (file)
@@ -194,7 +194,7 @@ sub do_server {
 
        
        if ($mtype eq 'DISCONNECT') {
-               $session->state( $session->DISCONNECTED );
+               $session->disconnect;
                $session->kill_me;
                return 0;
        }