Commit Graph

2 Commits

Author SHA1 Message Date
Martin-Molinero 3667d5a7bf Add missing license banner 2019-12-11 15:17:52 -03:00
Michael Handschuh 1b509f9644 Call dispose on IDisposable entries when removed
This helper is a favorite of mine to use in models to handle OnSecuritiesChanged
event to maintain internal state in light of additions/removals. Sometimes, the
internal state objects implement IDisposable, and without this code, they would
never be disposed. A good usage of IDisposable here would be to remove any items
that are only used by that single security related internal state such as a consolidator
2019-12-10 18:54:39 -05:00