Skip to content

Commit

Permalink
Bugfix - Subscriber to destruction on BoldSystem #20
Browse files Browse the repository at this point in the history
  • Loading branch information
bero committed Dec 7, 2024
1 parent 511bbfe commit fbedb37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/BoldObjectListControllers.pas
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ procedure TBoldObjectListController.SubscribeToObjectDeleted(Locator: TBoldObjec
end
else
if OwningObjectList.SubscribeToObjectsInList then
SubscriptionSource.AddSmallSubscription(FSubscriber, [beDestroying, beObjectDeleted]);
SubscriptionSource.AddSmallSubscription(FSubscriber, [beObjectDeleted]);
Locator.BoldSystem.AddSmallSubscription(FSubscriber, [beDestroying]);
end;

procedure TBoldObjectListController.DropSubscriptions;
Expand Down

0 comments on commit fbedb37

Please sign in to comment.