fix: clear WotLKDB globals on cached loads to remove lingering taint

docs: add v1.4.4r2 changelog
This commit is contained in:
Xurkon
2026-03-21 10:27:27 -05:00
parent 4054341199
commit a44909b1fe
3 changed files with 20 additions and 0 deletions
+9
View File
@@ -476,6 +476,15 @@ function QuestieInit:UpdateWotLKDBStats()
wotlkPlugin.stats.ITEM = counts.ITEM
end
end
-- Fix #11: When the database is already compiled (cached), LoadBaseDB is never
-- run, so the global cleanup there is skipped. We MUST clean the namespace here
-- to prevent continuous ADDON_ACTION_BLOCKED taint errors during gameplay.
-- (Doing this also frees ~20MB of redundant RAM since the data is cached!)
_G["QuestieX_WotLKDB_quest"] = nil
_G["QuestieX_WotLKDB_npc"] = nil
_G["QuestieX_WotLKDB_object"] = nil
_G["QuestieX_WotLKDB_item"] = nil
end
function QuestieInit:LoadBaseDB()