destroy doesn't remove the onWillDispose event handler from the model. This means that after a binding is manually destroyed, it will be destroyed again when the model is disposed.
This doesn't break anything but it does cause annoying console.errors from Yjs:
[yjs] Tried to remove event handler that doesn't exist.
destroy
doesn't remove theonWillDispose
event handler from the model. This means that after a binding is manually destroyed, it will be destroyed again when the model is disposed.This doesn't break anything but it does cause annoying
console.error
s from Yjs: