activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pawel Niewiadomski (JIRA)" <>
Subject [jira] Created: (AMQ-990) Leaving threads running if Connection.Dispose fails.
Date Wed, 18 Oct 2006 13:15:16 GMT
Leaving threads running if Connection.Dispose fails.

                 Key: AMQ-990
             Project: ActiveMQ
          Issue Type: Bug
          Components: NMS (C# client)
            Reporter: Pawel Niewiadomski

I faced today following error - in Connection.Dispose call to DisposeOf(ConnectionId); fails
with exception. This causes Connection.Dispose to be aborted leading to thread responsible
for communication not to be joined. I'm talking about the thread created in TcpTransport.

closing = true;
DisposeOf(ConnectionId); // this causes exception and aborts further execution on this scope
transport.Oneway(new ShutdownInfo());
transport.Dispose(); // this is responsible for joining the thread and closing sockets
closed = true;

In summary - thread is still running and we can't get rid of it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message