Merge pull request #551 from alibaba/fix/stale-current-tab-id-mask-flash
fix(extension): clear currentTabId in storage on TabsController.init
This commit is contained in:
@@ -42,7 +42,7 @@ export class TabsController {
|
|||||||
throw new Error('TabsController already disposed')
|
throw new Error('TabsController already disposed')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.currentTabId = null
|
await this.updateCurrentTabId(null)
|
||||||
this.disposed = false
|
this.disposed = false
|
||||||
this.port = undefined
|
this.port = undefined
|
||||||
this.portRetries = 0
|
this.portRetries = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user