Merge branch 'main' into wishlist-259
This commit is contained in:
@@ -45,6 +45,7 @@ export {
|
||||
snapshot,
|
||||
emptySnapshot,
|
||||
findRootTypeKey,
|
||||
getItem,
|
||||
typeListToArraySnapshot,
|
||||
typeMapGetSnapshot,
|
||||
createDocFromSnapshot,
|
||||
|
||||
@@ -257,6 +257,7 @@ export class Doc extends Observable {
|
||||
}, null, true)
|
||||
}
|
||||
this.emit('destroyed', [true])
|
||||
this.emit('destroy', [this])
|
||||
super.destroy()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user