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

Must not capture locals by reference in asynchronous lambda (exhaust_cursor_currentop_integration_test.cpp)

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-02-08, Repl 2021-02-22
    • 10

    Description

      The asynchronous lambda in startExhaustQuery may still be running on method exit, so it cannot rely on references to local variables

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: