I see this note in the code (sdk\manager.cpp:69)
/**
@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:
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. :)