Skip to content

Commit

Permalink
Added missing unregistering for events
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Mar 2, 2024
1 parent 01131c2 commit 4f426f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RaidNotifier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,8 @@ do ----------------------
dbg("Unregister for %s (%s)", GetRaidZoneName(self.raidId), GetString("SI_DUNGEONDIFFICULTY", self.raidDifficulty))
self:UnregisterAllCombatEvents()
EVENT_MANAGER:UnregisterForEvent(self.Name, EVENT_EFFECT_CHANGED)
EVENT_MANAGER:UnregisterForEvent(self.Name.."_EffectChangedGroup", EVENT_EFFECT_CHANGED)
EVENT_MANAGER:UnregisterForEvent(self.Name.."_EffectChangedPlayer", EVENT_EFFECT_CHANGED)
EVENT_MANAGER:UnregisterForEvent(self.Name, EVENT_BOSSES_CHANGED)
EVENT_MANAGER:UnregisterForEvent(self.Name, EVENT_PLAYER_COMBAT_STATE)

Expand Down

0 comments on commit 4f426f2

Please sign in to comment.