diff options
Diffstat (limited to 'js/timers.ts')
-rw-r--r-- | js/timers.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/timers.ts b/js/timers.ts index e372f88c2..9a595973c 100644 --- a/js/timers.ts +++ b/js/timers.ts @@ -39,8 +39,7 @@ function getTime(): number { function clearGlobalTimeout(): void { const builder = flatbuffers.createBuilder(); - msg.GlobalTimerStop.startGlobalTimerStop(builder); - const inner = msg.GlobalTimerStop.endGlobalTimerStop(builder); + const inner = msg.GlobalTimerStop.createGlobalTimerStop(builder); globalTimeoutDue = null; let res = sendSync(builder, msg.Any.GlobalTimerStop, inner); assert(res == null); |