feat:TimerId start with 1
This commit is contained in:
parent
8d9052d74c
commit
a997ac7646
@ -278,7 +278,7 @@ export function jsObtainEntry(contextId: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const global = Function('return this')()
|
const global = Function('return this')()
|
||||||
let __timerId__ = 0
|
let __timerId__ = 1
|
||||||
|
|
||||||
const timerInfos: Map<number, { callback: () => void, context?: Context }> = new Map
|
const timerInfos: Map<number, { callback: () => void, context?: Context }> = new Map
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@ export function jsObtainEntry(contextId: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const global = Function('return this')()
|
const global = Function('return this')()
|
||||||
let __timerId__ = 0
|
let __timerId__ = 1
|
||||||
|
|
||||||
const timerInfos: Map<number, { callback: () => void, context?: Context }> = new Map
|
const timerInfos: Map<number, { callback: () => void, context?: Context }> = new Map
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user