mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 12:19:25 +02:00
* Patch for referenceinterface by C. Peterson to properly add to the freenotification list, Mantis #20808
git-svn-id: trunk@20616 -
This commit is contained in:
parent
06378882e3
commit
05999225a3
@ -78,7 +78,10 @@ begin
|
||||
if assigned(intf) and supports(intf,IInterfaceComponentReference,ref) then
|
||||
begin
|
||||
comp:=ref.getcomponent;
|
||||
comp.notification(self,op);
|
||||
if op = opInsert then
|
||||
comp.FreeNotification(Self)
|
||||
else
|
||||
comp.RemoveFreeNotification(Self);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user