This project has moved and is read-only. For the latest updates, please go here.
1
Vote

Memory leak

description

Despite the UndoRoot containing a WeakReference to its root object, memory is still leaked by the _Roots dictionary of the UndoService, because its keys are the same root objects but then strong-referenced. Adding a RemoveRoot method or changing the dictionary to use WeakReference keys can solve the problem.

comments

nallenwagner wrote Sep 4, 2015 at 6:58 PM

Thanks @jrvdboom. I'll take a look.