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:
parent
9b216b5dcd
commit
ba8b889d48
@ -879,6 +879,8 @@ end;
|
||||
|
||||
destructor TMvPluginManager.Destroy;
|
||||
begin
|
||||
while FPluginList.Count > 0 do
|
||||
FPluginList[FPluginList.Count-1].Free;
|
||||
FPluginList.Free;
|
||||
FMapList.Free;
|
||||
inherited;
|
||||
|
Loading…
Reference in New Issue
Block a user