Wrap the destroy call in try/catch

parent 570e9050
......@@ -81,7 +81,9 @@
if (!this.destroyed) {
this.instance.focusManager.blur(true)
this.instance.removeAllListeners()
this.instance.destroy()
try {
this.instance.destroy()
} catch (e) { }
this.destroyed = true
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment