Author: tabish
Date: Wed Feb  3 19:38:11 2010
New Revision: 906203

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

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

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

Modified: 
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Threads/DedicatedTaskRunner.cs
URL: 
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Threads/DedicatedTaskRunner.cs?rev=906203&r1=906202&r2=906203&view=diff
==============================================================================
--- 
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Threads/DedicatedTaskRunner.cs
 (original)
+++ 
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Threads/DedicatedTaskRunner.cs
 Wed Feb  3 19:38:11 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


Reply via email to