mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 13:39:21 +02:00
Debugger: fix crash introduced in "LazDebuggerFp: improve error handling"
This commit is contained in:
parent
f15e2bded5
commit
7347d41a12
@ -1053,8 +1053,8 @@ var
|
|||||||
w: TWatchValueIntf;
|
w: TWatchValueIntf;
|
||||||
begin
|
begin
|
||||||
if FWatchValue <> nil then begin
|
if FWatchValue <> nil then begin
|
||||||
FWatchValue := nil;
|
|
||||||
w := FWatchValue;
|
w := FWatchValue;
|
||||||
|
FWatchValue := nil;
|
||||||
w.RemoveNotification(weeCancel, @DoWachCanceled);
|
w.RemoveNotification(weeCancel, @DoWachCanceled);
|
||||||
if w.Validity = ddsRequested then
|
if w.Validity = ddsRequested then
|
||||||
w.Validity := ddsInvalid;
|
w.Validity := ddsInvalid;
|
||||||
|
Loading…
Reference in New Issue
Block a user