activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r906196 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Threads/DedicatedTaskRunner.cs
Date Wed, 03 Feb 2010 19:30:51 GMT
Author: tabish
Date: Wed Feb  3 19:30:51 2010
New Revision: 906196

URL: http://svn.apache.org/viewvc?rev=906196&view=rev
Log:
* DedicatedTaskRunner.cs: 

http://issues.apache.org/activemq/browse/AMQNET-218 improve thread abort handling.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Threads/DedicatedTaskRunner.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Threads/DedicatedTaskRunner.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Threads/DedicatedTaskRunner.cs?rev=906196&r1=906195&r2=906196&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Threads/DedicatedTaskRunner.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Threads/DedicatedTaskRunner.cs
Wed Feb  3 19:30:51 2010
@@ -142,11 +142,14 @@
                     }
                 }
             }
-            catch
+            catch( ThreadAbortException )
             {
                 // Prevent the ThreadAbortedException for propogating.
                 Thread.ResetAbort();
             }
+            catch
+            {
+            }
             finally
             {        
                 // Make sure we notify any waiting threads that thread



Mime
View raw message