implement correct destroy event
This commit is contained in:
@@ -257,6 +257,7 @@ export class Doc extends Observable {
|
|||||||
}, null, true)
|
}, null, true)
|
||||||
}
|
}
|
||||||
this.emit('destroyed', [true])
|
this.emit('destroyed', [true])
|
||||||
|
this.emit('destroy', [this])
|
||||||
super.destroy()
|
super.destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user