diff --git a/exch/ews/ews.cpp b/exch/ews/ews.cpp index 6792f8863..a5f809652 100644 --- a/exch/ews/ews.cpp +++ b/exch/ews/ews.cpp @@ -789,7 +789,6 @@ EWSPlugin::SubManager::SubManager(const char *uname, const EWSPlugin &plugin) : */ EWSPlugin::SubManager::~SubManager() { - std::lock_guard ss_lock(ews.subscriptionLock); for (const auto &subKey : inner_subs) ews.unsubscribe(subKey); if(waitingContext)