Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: 280Z28 on January 02, 2006, 06:17:30 pm

Title: Close while minimized = crash?
Post by: 280Z28 on January 02, 2006, 06:17:30 pm
Is anyone else seeing this?

Minimize Code::Blocks
Right click -> Close
Title: Re: Close while minimized = crash?
Post by: tiwag on January 02, 2006, 06:19:12 pm
Is anyone else seeing this?

Minimize Code::Blocks
Right click -> Close

yes
Title: Re: Close while minimized = crash?
Post by: 280Z28 on January 02, 2006, 06:20:52 pm
I see this note in the code (sdk\manager.cpp:69)

Code
		/**
@bug This is a dumb nasty bug. If ProjectManager is freed after ToolsManager, we get
a crash. Seems like wxRemoveEventHandler doesn't work correctly (it doesn't NULL the
prev event handler pointer)
*/

But this follows:

Code
		ToolsManager::Free();
/* stuff */
PluginManager::Free();

Is the comment outdated?

Edit: There's a comment that suggests that the bug is fixed but needs to be tested with an MSVC compiled version of C::B. I thought C::B didn't compile under MSVC at all? I suggest removing both comments if they aren't needed anymore. :)
Title: Re: Close while minimized = crash?
Post by: Michael on January 02, 2006, 06:27:40 pm
Is anyone else seeing this?

Minimize Code::Blocks
Right click -> Close

No. I have tried with all my windows C::B versions, i.e., RC2, Therion's SVN rev1587 and Ceniza's SVN rev1587, but no crash. May be this happen with a newer SVN version.

Michael
Title: Re: Close while minimized = crash?
Post by: Michael on January 02, 2006, 07:38:55 pm
But yes with Therion's SVN binary snapshot revision 1644 UNICODE (2/1/2006).

Michael
Title: Re: Close while minimized = crash?
Post by: Michael on January 02, 2006, 08:28:20 pm
And also with the latest Therion's SVN binary snapshot revision 1648 UNICODE (2/1/2006).

Michael