close all files before deleting workspace

pull/1115/head^2
filip mertens 4 years ago committed by Aniket
parent 865c18694b
commit 2776a0a999
  1. 1
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -208,6 +208,7 @@ export const Workspace = (props: WorkspaceProps) => {
}
const onFinishDeleteWorkspace = async () => {
await props.fileManager.closeAllFiles()
const workspacesPath = props.workspace.workspacesPath
props.browser.remove(workspacesPath + '/' + state.currentWorkspace)
const name = state.currentWorkspace

Loading…
Cancel
Save