Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-312

Resource leak in NMS.Stomp Inactivity Monitor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • Stomp
    • None

    Description

      Due to a race condition in the NMS.Stomp InactivityMonitor the object can leak Timer instances that perform read and write checks. The Dispose method needs to be synchronized on the object monitor lock. This change requires that the Connection class OnException fire off the task of notifying any registered listeners and cleaning up resources to a separate thread so the OnException call can complete and not initiate a DeadLock on the transport Dispose call.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: