Fixed an issue where the custom collections were not properly cleared when reloading the application

This commit is contained in:
Leon Styhre 2023-07-28 23:04:41 +02:00
parent 8aeb6cc903
commit 0aaa6f317f

View file

@ -104,6 +104,8 @@ void CollectionSystemsManager::deinit(const bool shutdown)
it->second.system = nullptr;
}
mCustomCollectionSystemsData.clear();
// Delete the custom collections bundle.
if (mCustomCollectionsBundle) {
delete mCustomCollectionsBundle;