diff --git a/src/internal/util/Immediate.ts b/src/internal/util/Immediate.ts index 02ca7598bd..161270706d 100644 --- a/src/internal/util/Immediate.ts +++ b/src/internal/util/Immediate.ts @@ -1,4 +1,4 @@ -let nextHandle = 0; +let nextHandle = 1; const tasksByHandle: { [handle: string]: () => void } = {};