CB (on Windows) is crashing when exited when any plugin is dependent on its OnRelease() call to exit properly. Especially when there are floating windows open.
This happens because:
Main.cpp 3099 issues
Manager::SetAppShuttingDown(true);
Manager::Get()->GetLogManager()->DebugLog(_T("Deinitializing plugins..."));
CodeBlocksEvent evtShutdown(cbEVT_APP_START_SHUTDOWN);
Manager::Get()->ProcessEvent(evtShutdown);
but Manager.cpp:256 returns immediately because of
bool Manager::ProcessEvent(CodeBlocksEvent& event)
{
if (IsAppShuttingDown())
return false;
thus no plugin ever sees the event and no onRelease() is ever called.
I suggest manager.cpp:256 be changed to
if (IsAppShuttingDown() and (event.GetEventType() != cbEVT_APP_START_SHUTDOWN))
return false;
My tests show this mod works.
To experience the crash, set CodeCompletions Symbols window to floating.
Pull the winidow outside CB's main window. Resize it. Now close CB.