Skip to content

Commit 837b2c0

Browse files
committed
Fix window closes before session opens in openLastSession
1 parent 6034f3b commit 837b2c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/background/open.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ export async function openSession(session, property = "openInNewWindow") {
8585
await openInCurrentWindow();
8686
break;
8787
case "openInNewWindow":
88-
openInNewWindow();
88+
await openInNewWindow();
8989
break;
9090
case "addToCurrentWindow":
91-
addToCurrentWindow();
91+
await addToCurrentWindow();
9292
break;
9393
}
9494
} else {

0 commit comments

Comments
 (0)