1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

[PM-1898] Change desktop reload to forcefullyCrashRenderer (#5813)

Co-authored-by: Daniel James Smith <djsmith@web.de>
This commit is contained in:
Oscar Hinton
2023-07-14 13:10:40 +02:00
committed by GitHub
parent 62575336d5
commit 61d5b2df9c
5 changed files with 54 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ import {
} from "@angular/core";
import { DomSanitizer } from "@angular/platform-browser";
import { Router } from "@angular/router";
import { ipcRenderer } from "electron";
import { IndividualConfig, ToastrService } from "ngx-toastr";
import { firstValueFrom, Subject, takeUntil } from "rxjs";
@@ -221,7 +222,7 @@ export class AppComponent implements OnInit, OnDestroy {
this.systemService.cancelProcessReload();
break;
case "reloadProcess":
(window.location as any).reload(true);
ipcRenderer.send("reload-process");
break;
case "syncStarted":
break;