https://bugs.kde.org/show_bug.cgi?id=422410
--- Comment #7 from Allen Winter <[email protected]> --- Git commit 0f722f48921676f4c779fda9d379fafe1b9c2a61 by Allen Winter, on behalf of Stefan Huber. Committed on 12/11/2026 at 12:10. Pushed by winterz into branch 'master'. 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. M +8 -3 resources/ews/ewssubscriptionmanager.cpp https://invent.kde.org/pim/kdepim-runtime/-/commit/0f722f48921676f4c779fda9d379fafe1b9c2a61 -- You are receiving this mail because: You are watching all bug changes.
