diff --git a/src/utils/Doc.js b/src/utils/Doc.js index 41c241b3..bec8966b 100644 --- a/src/utils/Doc.js +++ b/src/utils/Doc.js @@ -257,6 +257,7 @@ export class Doc extends Observable { }, null, true) } this.emit('destroyed', [true]) + this.emit('destroy', [this]) super.destroy() }