- Fixed problem with memory clean up time out after combat.

- Fixed a window group problem where sometimes during logon it breaks the addon.
This commit is contained in:
tercio
2014-10-29 15:42:07 -02:00
parent b16c61bc1f
commit 4dd789e3f9
4 changed files with 28 additions and 11 deletions
+6
View File
@@ -156,6 +156,10 @@ function _G._detalhes:Start()
self.RefreshAfterStartup = nil
function _detalhes:CheckWallpaperAfterStartup()
if (not _detalhes.profile_loaded) then
return _detalhes:ScheduleTimer ("CheckWallpaperAfterStartup", 2)
end
for i = 1, self.instances_amount do
local instance = self:GetInstance (i)
if (instance and instance:IsEnabled()) then
@@ -167,7 +171,9 @@ function _G._detalhes:Start()
end
end
self.CheckWallpaperAfterStartup = nil
_detalhes.profile_loaded = nil
end
_detalhes:ScheduleTimer ("CheckWallpaperAfterStartup", 5)
end