Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29493

Make ThreadPoolTaskExecutor's destructor execute shutdown and join

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.9
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible

      By making the ThreadPoolTaskExecutor destructor call shutdown and join when necessary, it becomes possible to have shared ownership of a TaskExecutor, and simplifies cleanup of tests on errors.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: