Skip to content

Commit

Permalink
Fix window closes before session opens in openLastSession
Browse files Browse the repository at this point in the history
  • Loading branch information
sienori committed Jun 5, 2024
1 parent 6034f3b commit 837b2c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/background/open.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ export async function openSession(session, property = "openInNewWindow") {
await openInCurrentWindow();
break;
case "openInNewWindow":
openInNewWindow();
await openInNewWindow();
break;
case "addToCurrentWindow":
addToCurrentWindow();
await addToCurrentWindow();
break;
}
} else {
Expand Down

0 comments on commit 837b2c0

Please sign in to comment.