https://bugs.kde.org/show_bug.cgi?id=422410
--- Comment #11 from Allen Winter <[email protected]> --- Git commit 9d9d7e81147ff9eed59b1ce7883d19fcb44b2223 by Allen Winter, on behalf of Stefan Huber. Committed on 12/11/2026 at 12:48. Pushed by winterz into branch 'release/26.12'. EWS: Do not block on unsubscribing in the subscription manager The dtor ~EwsSubscriptionManager() calls req->exec() within cancelSubscription(), which is a synchronous call. The dtor runs when the resource goes offline in EwsResource::doSetOnline(false). When the network is down, cancelSubscription() can block for minutes. This also delays emitting onlineChanged(false), making akonadi_control believe that the resource is still online. Meanwhile, the half-destroyed subscription manager keeps running in the nested event loop, and its streaming timer restarts requests. Switch to asynchronous req->start() instead. The EwsClient owns the request now, as the subscription manager is gone before the request finishes. The result was never checked before either; the server expires the subscription anyway. (cherry picked from commit 0f722f48921676f4c779fda9d379fafe1b9c2a61) M +8 -3 resources/ews/ewssubscriptionmanager.cpp https://invent.kde.org/pim/kdepim-runtime/-/commit/9d9d7e81147ff9eed59b1ce7883d19fcb44b2223 -- You are receiving this mail because: You are watching all bug changes.
