News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugger manager never gets destructed

Started by BlueHazzard, April 30, 2017, 03:24:05 PM

Previous topic - Next topic

BlueHazzard

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

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]