implement correct destroy event
This commit is contained in:
parent
563c34f81a
commit
e81267d4df
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user