close all files before deleting workspace

pull/5370/head
filip mertens 4 years ago committed by Aniket
parent 1baeb2ef5f
commit aa548f76e0
  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