Yomguithereal / baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.
MIT License
3.15k stars 115 forks source link

Remove the correct monkey listener when re-setting a monkey #479

Closed jrust closed 7 years ago

jrust commented 7 years ago

Closes #478 by fixing typo that was preventing the private _monkey listener from unbinding. Wasn't sure if there is a better way to check the unbinding of the listener, but test did repro the issue.

Yomguithereal commented 7 years ago

Seems fine @jrust. Let me merge & release.

Yomguithereal commented 7 years ago

v2.4.2 is now out on npm.