B
Boni
Dear all,
I create a big number of a class instances of some class. Sometimes this
instances must be collected (all pointers are deleted, but instance is not
explicitly disposed).But sometimes I need to notify all living instances to
reread an init file.
Since I don't want to prevent a garbadge collection of the instances I don't
have an explicit collection of all living instances. So I am trying to use
shared event for notification.
But it seems that event delegate still preventing instances from GC.
Is it possible to somehow notify all living instances of class without
preventing a garbage collection?
Thanks a lot,
Boni
I create a big number of a class instances of some class. Sometimes this
instances must be collected (all pointers are deleted, but instance is not
explicitly disposed).But sometimes I need to notify all living instances to
reread an init file.
Since I don't want to prevent a garbadge collection of the instances I don't
have an explicit collection of all living instances. So I am trying to use
shared event for notification.
But it seems that event delegate still preventing instances from GC.
Is it possible to somehow notify all living instances of class without
preventing a garbage collection?
Thanks a lot,
Boni