mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 07:24:51 +00:00
Send a ShutdownInfo so that broker knows that we are doing a clean disconnect.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
41c4a49a52
commit
2949d2657a
@ -79,6 +79,7 @@ namespace ActiveMQ
|
|||||||
*/
|
*/
|
||||||
DisposeOf(ConnectionId);
|
DisposeOf(ConnectionId);
|
||||||
sessions.Clear();
|
sessions.Clear();
|
||||||
|
transport.Oneway(new ShutdownInfo());
|
||||||
transport.Dispose();
|
transport.Dispose();
|
||||||
closed = true;
|
closed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user