Author Topic: Debugger manager never gets destructed  (Read 3195 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Debugger manager never gets destructed
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Debugger manager never gets destructed
« Reply #1 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.
(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!]