GetFramesRegisteredForEvent() Crash

by Batrick | 26/11/2007 07:42:59

Batrick

This can crash the client:

/run for i =1, 10000 do local x = CreateFrame("Frame", "x"..i) x:RegisterEvent("UNIT_HEALTH") end

/run GetFramesRegisteredForEvent("UNIT_HEALTH")
Retired: Myrafae -- 70 Mage; Lolth -- 61 Priest
Author of Spellcraft: http://www.unm.edu/~batrick/spellcraft/

by Slouken | 28/11/2007 19:04:30

Slouken

This is fixed for 2.3.2, thanks!

Well, it won't crash, but it won't be able to return the frames. The limit is roughly 2000.

Blizzard Announcement Recent Blizzard Announcements

 



Loaded in 0.03981 seconds