This repository was archived by the owner on Jan 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2424-- f:AddChild(btn)
2525-- @class file
2626-- @name AceGUI-3.0
27- -- @release $Id: AceGUI-3.0.lua 1221 2019-07-20 18:23:00Z nevcairiel $
28- local ACEGUI_MAJOR , ACEGUI_MINOR = " AceGUI-3.0" , 39
27+ -- @release $Id: AceGUI-3.0.lua 1228 2019-09-06 08:51:17Z nevcairiel $
28+ local ACEGUI_MAJOR , ACEGUI_MINOR = " AceGUI-3.0" , 40
2929local AceGUI , oldminor = LibStub :NewLibrary (ACEGUI_MAJOR , ACEGUI_MINOR )
3030
3131if not AceGUI then return end -- No upgrade needed
176176-- If this widget is a Container-Widget, all of its Child-Widgets will be releases as well.
177177-- @param widget The widget to release
178178function AceGUI :Release (widget )
179+ if widget .isQueuedForRelease then return end
180+ widget .isQueuedForRelease = true
179181 safecall (widget .PauseLayout , widget )
180182 widget .frame :Hide ()
181183 widget :Fire (" OnRelease" )
@@ -206,6 +208,7 @@ function AceGUI:Release(widget)
206208 widget .content .width = nil
207209 widget .content .height = nil
208210 end
211+ widget .isQueuedForRelease = nil
209212 delWidget (widget , widget .type )
210213end
211214
Original file line number Diff line number Diff line change 1- ## Interface : 80205
1+ ## Interface : 80300
22## Title : Neuron
33## Notes : A macro-based action bar and object manager add-on
44## Author : Britt Yazel (aka Soyier) and Connor Chenoweth (aka Maul)
You can’t perform that action at this time.
0 commit comments