kutils: clear the password store cache when closing it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-06-01 05:34:43 +03:00
parent 9707bc6cb3
commit d7d44d83c4

View file

@ -161,6 +161,7 @@ bool KPasswdStoreImpl::openStore(const qlonglong windowid)
bool KPasswdStoreImpl::closeStore()
{
clearPasswd();
m_cachemap.clear();
kDebug() << "store is now closed" << m_storeid;
return true;
}