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:
Simon
2026-06-11 21:13:31 +08:00
committed by GitHub

View File

@@ -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