Skip to content
  • Debarshi Ray's avatar
    ewsclient: Simplify the clean up · 730e84ac
    Debarshi Ray authored
    Now that the deprecated SoupSessionAsync has been replaced with
    SoupSession [1], the response callbacks are invoked in the next
    iteration of the main loop after soup_session_abort has returned. This
    means that ews_client_autodiscover_response_cb is no longer called
    from a GCancellable::cancelled signal handler. Therefore, it's safe to
    directly disconnect from the GCancellable in the response callback
    without fearing for any deadlocks.
    
    This reverts commit 07f13b1d.
    
    [1] Commit 6c3e3c2d
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764157
    730e84ac