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

Use defensive programming in DeadlineFuture destructor

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.10, 6.0.0-rc9, 5.3.3
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0, v5.3, v5.0
    • 130

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: