mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-02 18:37:38 +01:00
DBG: fix deleting breakpoint that have a group
git-svn-id: trunk@30733 -
This commit is contained in:
parent
e1a1402c12
commit
a60b1bab59
@ -4345,6 +4345,8 @@ begin
|
||||
end;
|
||||
|
||||
destructor TIDEBreakPoint.Destroy;
|
||||
var
|
||||
Grp: TIDEBreakPointGroup;
|
||||
begin
|
||||
if FMaster <> nil
|
||||
then begin
|
||||
@ -4355,8 +4357,10 @@ begin
|
||||
if (TIDEBreakPoints(Collection) <> nil)
|
||||
then TIDEBreakPoints(Collection).NotifyRemove(Self);
|
||||
|
||||
if FGroup <> nil
|
||||
then FGroup.Remove(Self);
|
||||
Grp := FGroup;
|
||||
FGroup := nil;
|
||||
if Grp <> nil
|
||||
then Grp.Remove(Self);
|
||||
|
||||
ClearAllGroupLists;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user