From d73c0a41b903fd737584fa807eecb0a5a57bd0a4 Mon Sep 17 00:00:00 2001 From: Igor Chernega Date: Mon, 31 Jul 2017 21:49:04 +0300 Subject: [PATCH] Closes issue #5691 Set 'updateTimer = undefined' after 'clearTimeout(updateTimer)' call --- Apps/CesiumViewer/CesiumViewer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Apps/CesiumViewer/CesiumViewer.js b/Apps/CesiumViewer/CesiumViewer.js index 2cdc65ae7b02..94673a67a168 100644 --- a/Apps/CesiumViewer/CesiumViewer.js +++ b/Apps/CesiumViewer/CesiumViewer.js @@ -181,6 +181,7 @@ define([ camera.changed.addEventListener(function() { if (defined(updateTimer)) { window.clearTimeout(updateTimer); + updateTimer = undefined; } updateTimer = window.setTimeout(saveCamera, 1000); });