Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: BlueHazzard on April 30, 2017, 03:24:05 pm

Title: Debugger manager never gets destructed
Post by: BlueHazzard on April 30, 2017, 03:24:05 pm
i try to implement https://sourceforge.net/p/codeblocks/tickets/503/
My first try was to save the settings in DebuggerManager::~DebuggerManager()
But the destructor never gets called. From the other managers the Free method is called in Manager::Shutdown() but DebuggerManager is missing. Is this a Bug? Am i missing something?

greetings
Title: Re: Debugger manager never gets destructed
Post by: oBFusCATed on April 30, 2017, 08:13:31 pm
Probably it is a bug.
But doing what you want in the destructor is not good idea.
Just change the config every time the control is changed by the user.