News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Plugins template comments out of date ??

Started by dje, January 09, 2007, 11:51:48 PM

Previous topic - Next topic

dje

Hi !!

While debugging install/uninstall of the future ThreadSearch plugin http://forums.next.codeblocks.org/index.php?topic=4878.msg38107#msg38107, I looked carefully at the OnRelease method :
void ThreadSearch::OnRelease(bool appShutDown)
{
// do de-initialization for your plugin
// if appShutDown is false, the plugin is unloaded because Code::Blocks is being shut down,
// which means you must not use any of the SDK Managers
// NOTE: after this function, the inherited member variable
// m_IsAttached will be FALSE...
...
}


It seems that whatever testing case (plugin uninstall, application shut down), the managers are available.

As it seems very interesting to me, I'd like to know if I am a lucky tester or if the comment are out of date due to an evolution ??

Dje

mandrav

Yes, the comment is out of date. Since we supported plugin enabling disabling on the fly this comment became obsolete...
Be patient!
This bug will be fixed soon...

dje