From 6a11f0553efc79ed85199e7fa738718489b6a8dd Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Thu, 31 Aug 2023 13:30:12 -0700 Subject: [PATCH] fix(gokai_sdk): remove problematic delete call in account manager --- .../gokai_sdk/framework/lib/os/linux/services/account-manager.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/gokai_sdk/framework/lib/os/linux/services/account-manager.cc b/packages/gokai_sdk/framework/lib/os/linux/services/account-manager.cc index af5bb0d..71b914b 100644 --- a/packages/gokai_sdk/framework/lib/os/linux/services/account-manager.cc +++ b/packages/gokai_sdk/framework/lib/os/linux/services/account-manager.cc @@ -67,7 +67,6 @@ void AccountManager::user_changed(ActUser* user, gpointer user_data) { for (const auto& entry : self->cache) { auto find = std::find(ids.begin(), ids.end(), entry.first); if (find == ids.end()) { - delete entry.second; self->cache.erase(entry.first); } }