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