mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
clearPendingClipboard on lock/logout
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: b9267c521d...62e9c75357
@@ -159,6 +159,7 @@ export default class MainBackground {
|
|||||||
await this.refreshBadgeAndMenu(true);
|
await this.refreshBadgeAndMenu(true);
|
||||||
if (this.systemService != null) {
|
if (this.systemService != null) {
|
||||||
this.systemService.startProcessReload();
|
this.systemService.startProcessReload();
|
||||||
|
await this.systemService.clearPendingClipboard();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.syncService = new SyncService(this.userService, this.apiService, this.settingsService,
|
this.syncService = new SyncService(this.userService, this.apiService, this.settingsService,
|
||||||
@@ -301,6 +302,7 @@ export default class MainBackground {
|
|||||||
await this.reseedStorage();
|
await this.reseedStorage();
|
||||||
this.notificationsService.updateConnection(false);
|
this.notificationsService.updateConnection(false);
|
||||||
this.systemService.startProcessReload();
|
this.systemService.startProcessReload();
|
||||||
|
await this.systemService.clearPendingClipboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
collectPageDetailsForContentScript(tab: any, sender: string, frameId: number = null) {
|
collectPageDetailsForContentScript(tab: any, sender: string, frameId: number = null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user