浏览代码

fix: kill sidecars after install still in test

GyDi 3 年之前
父节点
当前提交
568511a4cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/layout/update-dialog.tsx

+ 1 - 1
src/components/layout/update-dialog.tsx

@@ -34,8 +34,8 @@ const UpdateDialog = (props: Props) => {
     uploadingState = true;
 
     try {
-      await killSidecars();
       await installUpdate();
+      await killSidecars();
       await relaunch();
     } catch (err: any) {
       await restartSidecar();