hornetq/hornetq — pull request #1384 by gaohoward (2013-11-18 07:06:27+00:00)
Title: HORNETQ-1276 Deadlock between StompProtocolManager.cleanup() and StompSession.sendMessage()

By stopping the session first we can avoid the deadlock