RxUI-UWP-Sample icon indicating copy to clipboard operation
RxUI-UWP-Sample copied to clipboard

Subclassing from this doesn't release it

Open anoopvaidya opened this issue 7 years ago • 0 comments

I subclass from NSWindowController say MyWC. Its destructor gets called when the window is closed. But when I subclass from ReactiveWindowController the destructor is not called. I checked with Instruments and it shows a memory leak. I see the Observer in line #90, is not removed. I believe it should be removed in WillClose().

anoopvaidya avatar Oct 23 '18 11:10 anoopvaidya