feat ui: fix tabclosemanager state reset
This commit is contained in:
parent
92353e4c49
commit
bdcde733a9
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ export default class TabClosingManager extends ListWalker<{ tabId: string, time:
|
|||
moveReady(t: number): Promise<string | null> {
|
||||
if (t < this.currentTime) {
|
||||
this.reset()
|
||||
this.closedTabs = new Set()
|
||||
return Promise.resolve(null)
|
||||
}
|
||||
this.currentTime = t
|
||||
const msg = this.moveGetLast(t)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue