- made sure to call UnregisterUnitWatch whenever the FocusHealth or a CustomHealth module is unloaded

This commit is contained in:
Parnic
2010-10-10 05:27:00 +00:00
parent 1471a96937
commit 44fef3457d
2 changed files with 4 additions and 0 deletions

View File

@ -119,6 +119,8 @@ end
function IceCustomHealth.prototype:Disable(core)
IceCustomHealth.super.prototype.Disable(self, core)
UnregisterUnitWatch(self.frame)
self:CancelTimer(self.scheduledEvent, true)
end