tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r691392 - /tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java
Date Tue, 02 Sep 2008 21:44:38 GMT
Author: markt
Date: Tue Sep  2 14:44:37 2008
New Revision: 691392

URL: http://svn.apache.org/viewvc?rev=691392&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45618
Make sure the selector is closed.
Almost certain not to be an issue in any real deployment but still - technically - a bug.

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java?rev=691392&r1=691391&r2=691392&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/transport/nio/ParallelNioSender.java Tue
Sep  2 14:44:37 2008
@@ -277,6 +277,7 @@
 
     public void finalize() {
         try {disconnect(); }catch ( Exception ignore){}
+        try {selector.close();} catch (Exception ignore) {}
     }
 
     public boolean keepalive() {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message