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

Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1352
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: 10019
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.
<debugger plugin maintainer>
(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!]