瀏覽代碼

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;
     uploadingState = true;
 
 
     try {
     try {
-      await killSidecars();
       await installUpdate();
       await installUpdate();
+      await killSidecars();
       await relaunch();
       await relaunch();
     } catch (err: any) {
     } catch (err: any) {
       await restartSidecar();
       await restartSidecar();