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

Resource leak in NMS.Stomp Inactivity Monitor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: Stomp
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: