clearPendingClipboard on lock/logout

This commit is contained in:
Kyle Spearrin 2019-02-27 11:57:29 -05:00
parent d45ff363b2
commit 490933c2d8
2 changed files with 3 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit b9267c521ddffce35932a0cc2e9726d30b80c60d
Subproject commit 62e9c75357b211db6de769d8592224fc846638aa

View File

@ -159,6 +159,7 @@ export default class MainBackground {
await this.refreshBadgeAndMenu(true);
if (this.systemService != null) {
this.systemService.startProcessReload();
await this.systemService.clearPendingClipboard();
}
});
this.syncService = new SyncService(this.userService, this.apiService, this.settingsService,
@ -301,6 +302,7 @@ export default class MainBackground {
await this.reseedStorage();
this.notificationsService.updateConnection(false);
this.systemService.startProcessReload();
await this.systemService.clearPendingClipboard();
}
collectPageDetailsForContentScript(tab: any, sender: string, frameId: number = null) {