Datatable - swallow exceptions on desroy
This commit is contained in:
parent
d3f8dec449
commit
0cb9312e75
|
@ -30,7 +30,11 @@
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
return () => {
|
return () => {
|
||||||
!!instance && instance.destroy()
|
try {
|
||||||
|
!!instance && instance.destroy()
|
||||||
|
} catch(e) {
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
instance = null
|
instance = null
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue