directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r345182 - /directory/network/trunk/src/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionManagerFilterChain.java
Date Thu, 17 Nov 2005 04:20:12 GMT
Author: trustin
Date: Wed Nov 16 20:20:08 2005
New Revision: 345182

URL: http://svn.apache.org/viewcvs?rev=345182&view=rev
Log:
Fixed a bug in VM-Pipe.

Modified:
    directory/network/trunk/src/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionManagerFilterChain.java

Modified: directory/network/trunk/src/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionManagerFilterChain.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionManagerFilterChain.java?rev=345182&r1=345181&r2=345182&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionManagerFilterChain.java
(original)
+++ directory/network/trunk/src/java/org/apache/mina/transport/vmpipe/support/VmPipeSessionManagerFilterChain.java
Wed Nov 16 20:20:08 2005
@@ -35,14 +35,12 @@
         VmPipeSessionImpl s = ( VmPipeSessionImpl ) session;
         synchronized( s.lock )
         {
-            if( s.getCloseFuture().isClosed() )
+            if( !closeFuture.isClosed() )
             {
-                s.remoteSession.getCloseFuture().setClosed();
                 s.getManagerFilterChain().sessionClosed( session );
-                s.remoteSession.getManagerFilterChain().sessionClosed( s.remoteSession );
+                closeFuture.setClosed();
+                s.remoteSession.close();
             }
         }
-        
-        closeFuture.setClosed();
     }
 }



Mime
View raw message