Browse Source

chore(gui-v2): cleanup scope disposal

pull/3211/head
braks 2 years ago
parent
commit
cf21b7e05e
  1. 5
      packages/nc-gui-v2/composables/useDialog/index.ts

5
packages/nc-gui-v2/composables/useDialog/index.ts

@ -43,10 +43,7 @@ export function useDialog(
) )
/** When calling scope is disposed, destroy component */ /** When calling scope is disposed, destroy component */
tryOnScopeDispose(() => { tryOnScopeDispose(close)
close()
stop()
})
/** destroy component, can be debounced */ /** destroy component, can be debounced */
function close(debounce = 0) { function close(debounce = 0) {

Loading…
Cancel
Save