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

Use defensive programming in DeadlineFuture destructor

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.10, 5.3.3, 6.0.0-rc9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0, v5.3, v5.0
    • 130

      In src/mongo/db/process_health/deadline_future.h the destructor is using _timeoutCbHandle, which is optional. Optional is such for a reason, it doesn't have to be set.

            Assignee:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: