mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 19:29:31 +02:00
IdeDebugger: correctly clear old watchdata
This commit is contained in:
parent
32e1ae20d4
commit
0e7a968c42
@ -537,7 +537,10 @@ end;
|
||||
|
||||
procedure TWatchValue.SetResultData(AResultData: TWatchResultData);
|
||||
begin
|
||||
ResultData.Free;
|
||||
if FResultData = AResultData then
|
||||
exit;
|
||||
ClearDisplayData;
|
||||
FResultData.Free;
|
||||
FResultData := AResultData;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user