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.
Hot: Grab one of our RSS feeds to stay updated with what's happening with your class!

Bump! Recently Bumped Threads

 

Blizzard Announcement Recent Blizzard Announcements

 

We suggest