Hi !!
While debugging install/uninstall of the future ThreadSearch plugin http://forums.next.codeblocks.org/index.php?topic=4878.msg38107#msg38107 (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
Yes, the comment is out of date. Since we supported plugin enabling disabling on the fly this comment became obsolete...
Hi !
I removed the managers warnings comments from plugin templates files.
The patch :
https://developer.berlios.de/patch/?func=detailpatch&patch_id=1818&group_id=5358 (https://developer.berlios.de/patch/?func=detailpatch&patch_id=1818&group_id=5358)
Dje