Debugger: Watches, fix double freeing of array nav frames

This commit is contained in:
Martin 2022-06-13 15:44:27 +02:00
parent 8c9d81c77f
commit 75d3e86bb4

View File

@ -307,8 +307,9 @@ begin
if FQueuedUnLockCommandProcessing then
DebugBoss.UnLockCommandProcessing;
FQueuedUnLockCommandProcessing := False;
FreeAndNil(FWatchPrinter);
FreeAndNil(FWatchPrinter);
tvWatches.Clear; // Must clear all nodes before any owned "Nav := TArrayNavigationBar" are freed;
inherited Destroy;
end;