Closed aki77 closed 9 years ago
@aki77 Thanks for catching this. I've modified your PR a little. Could you verify editor is released with same operation?
Thanks! Only one small thing which needs to be fixed.
Before this fix, destroyed editor wasn't released immediately since these code keep reference to destroyed editor.
By this fix, properly release reference to editor onDidDestroy
and won't keep reference if its already destroyed at initialization.
Thanks @aki77 !!
In this snapshot, I have only a single tab open.
Of the other plugin object is not released until it exceeds the max setting.
https://github.com/atom/bracket-matcher/pull/147