1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Datatable - swallow exceptions on desroy

This commit is contained in:
Michael Shanks 2020-02-24 14:59:23 +00:00
parent d3f8dec449
commit 0cb9312e75

View file

@ -30,7 +30,11 @@
onMount(() => {
return () => {
!!instance && instance.destroy()
try {
!!instance && instance.destroy()
} catch(e) {
console.log(e)
}
instance = null
}
})