The source project of this merge request has been removed.
Clear ref on permission page destruction
KCMFlatpak::load()
is called N times when switching apps, with N equal to the times the current app has been switched to.
Clear ref
on destruction so this does not happen anymore.
Not sure if this is the correct fix, but it makes the symptom disappear.