Review of std.signal
Jacob Carlborg
doob at me.com
Sun Jan 19 03:50:55 PST 2014
On 2014-01-19 11:30, Kagamin wrote:
> Also a similar warning for strongConnect: if you subscribe a big object
> (e.g. a complex UI form) to a signal and forget to unsubscribe, it will
> be retained with all the referenced data. In C# we register
> subscriptions in a supplementary container, so that when the form is
> disposed, it also disposes subscriptions in the container - it makes
> unsubscription easier if you don't forget to dispose the form.
It's recommended to use weak reference for IBOutles in OS X and iOS
programming. IBOutles are used to hold reference to GUI objects
instantiated in .nib files.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list