Skip to content

Commit

Permalink
Close window before opening again
Browse files Browse the repository at this point in the history
  • Loading branch information
SRichner committed Feb 19, 2024
1 parent b9a4ad9 commit 2d64b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/electron/electron/main/services/WindowService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export class WindowService {
}

public async createExperienceSamplingWindow() {
this.experienceSamplingWindow?.close();

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const preload = join(__dirname, '../preload/index.mjs');
Expand Down

0 comments on commit 2d64b37

Please sign in to comment.