LazMapViewer: (Hopefully) fix incorrect deletion of Plugmanager and Plugins and resulting crash when IDE closes. Issue #39093.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2025-01-09 22:57:29 +00:00
parent 9b216b5dcd
commit ba8b889d48

View File

@ -879,6 +879,8 @@ end;
destructor TMvPluginManager.Destroy;
begin
while FPluginList.Count > 0 do
FPluginList[FPluginList.Count-1].Free;
FPluginList.Free;
FMapList.Free;
inherited;