Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2413

ContainerManager doesn't close the Timer it creates when stop() is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.1
    • 3.5.2, 3.6.0
    • server
    • None
    • Hide
      Thanks, Jordan.

      Branch 3.5: Committed revision 1740737.
      Trunk: Committed revision 1740738.
      Show
      Thanks, Jordan. Branch 3.5: Committed revision 1740737. Trunk: Committed revision 1740738.

    Description

      ContainerManager creates a Timer object. It's stop() method cancel's the running task but doesn't close the Timer itself. This ends up leaking a Thread (internal to the Timer).

      Attachments

        1. ZOOKEEPER-2413.patch
          0.5 kB
          Jordan Zimmerman

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              randgalt Jordan Zimmerman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: