lace.make_subject.destroy: Destroy the 'Sender' if it has been enabled.
This commit is contained in:
@@ -15,7 +15,12 @@ is
|
||||
begin
|
||||
if Self.Emitter /= null
|
||||
then
|
||||
Self.Emitter.destruct;
|
||||
Self.Emitter.destroy;
|
||||
end if;
|
||||
|
||||
if Self.Sender /= null
|
||||
then
|
||||
Self.Sender.destroy;
|
||||
end if;
|
||||
|
||||
Self.safe_Observers.destruct;
|
||||
|
||||
Reference in New Issue
Block a user