# HG changeset patch # User Zerotorescue # Date 1284316119 -7200 # Node ID 1243c2d2b85eaaf868e6d95d82de46b2a0edc093 # Parent 1805df31794de98d15abe0ced5f8c9162d46c047 Now doing a garbage collection after making the options frame as we use many different tables that we don't ever touch again. diff -r 1805df31794d -r 1243c2d2b85e Modules/Config.lua --- 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