Mercurial > wow > mailopener
changeset 47:1243c2d2b85e
Now doing a garbage collection after making the options frame as we use many different tables that we don't ever touch again.
| author | Zerotorescue |
|---|---|
| date | Sun, 12 Sep 2010 20:28:39 +0200 |
| parents | 1805df31794d |
| children | f630d882d008 |
| files | Modules/Config.lua |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Modules/Config.lua Sun Sep 12 16:36:18 2010 +0200 +++ b/Modules/Config.lua Sun Sep 12 20:28:39 2010 +0200 @@ -63,6 +63,10 @@ if not AceConfigDialog then local options = self:GetOptions(); + -- We have been pretty sloppy with tables in self:GetOptions(), but since this is only executed once and for readability we'll leave it this way + -- Instead, do a garbage collection + collectgarbage(); + -- Build options dialog AceConfigDialog = LibStub("AceConfigDialog-3.0"); -- Register options table
