Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3764

TaskHelpers.WhenAnySuccessful can potentially cause deadlocks.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5.2
    • 3.4.15
    • None
    • None
    • 2
    • SDK16: Clmnr Proto & C++

    Description

      TaskHelpers.WhenAnySuccessful mixes ContinueWith with Tasks that may be async methods.

       

      In environments that have a SynchronizationContext (e.g. WinForms, Windows Service), this may result in a deadlock.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard.ponton Richard Ponton
            richard.ponton Richard Ponton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty