[Mono-bugs] [Bug 399364] reduce extra configuration instance initialization

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 8 17:51:21 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=399364

User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=399364#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |vargaz at gmail.com




--- Comment #1 from Zoltan Varga <vargaz at gmail.com>  2008-07-08 15:51:20 MDT ---
I think the problem is in Configuration:GetSectionInstance ():

                        ConfigurationSection parentSection = null;
                        if (parent != null) {
                                parentSection = parent.GetSectionInstance
(config, true);
                                sec.SectionInformation.SetParentSection
(parentSection);
                        }

we call our parent's GetSectionInstance, which will create another instance,
then call our parent's parent etc.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list