diff --git a/docs/remote/index.html b/docs/remote/index.html index d97660df87..13fce5157f 100644 --- a/docs/remote/index.html +++ b/docs/remote/index.html @@ -160,7 +160,7 @@ const debounce = (callback, delay) => { */ class Connection { constructor() { - this.RETRY_INTERVAL = 3000; + this.retryInterval = 3000; this.poll = null; this.connectionOpen = false; this.listeners = {}; @@ -199,14 +199,14 @@ class Connection { // Reset the polling timeout. It's important that we clear the previous timeout, as // we're about to lose its handle. clearTimeout(this.poll); - this.poll = setTimeout(() => this.connect(url), this.RETRY_INTERVAL); + this.poll = setTimeout(() => this.connect(url), this.retryInterval); }); this.ws.addEventListener("message", event => { this.listeners["message"] && this.listeners["message"](event); }); - this.poll = setTimeout(() => this.connect(url), this.RETRY_INTERVAL); + this.poll = setTimeout(() => this.connect(url), this.retryInterval); } send(what) { @@ -453,7 +453,7 @@ class App { const settingsJson = this.serializer.writeJson(this.simpleViewer.getSettings()).slice(); if (this.previousSettingsJson != settingsJson) { if (this.connection.isConnected()) { - this.connection.send("setttings.json"); + this.connection.send("settings.json"); this.connection.send(settingsJson); } this.previousSettingsJson = settingsJson; diff --git a/filament/backend/src/vulkan/VulkanPipelineCache.cpp b/filament/backend/src/vulkan/VulkanPipelineCache.cpp index 1b3477430d..65240dcb2c 100644 --- a/filament/backend/src/vulkan/VulkanPipelineCache.cpp +++ b/filament/backend/src/vulkan/VulkanPipelineCache.cpp @@ -633,7 +633,7 @@ void VulkanPipelineCache::onCommandBuffer(const VulkanCommandBuffer& cmdbuffer) } // If there are no descriptors from any extinct pool that are still in use, we can safely - // destroy the extinct pools, which implicity frees their associated descriptor sets. + // destroy the extinct pools, which implicitly frees their associated descriptor sets. if (canPurgeExtinctPools) { for (VkDescriptorPool pool : mExtinctDescriptorPools) { vkDestroyDescriptorPool(mDevice, pool, VKALLOC); diff --git a/web/samples/remote.html b/web/samples/remote.html index d97660df87..13fce5157f 100644 --- a/web/samples/remote.html +++ b/web/samples/remote.html @@ -160,7 +160,7 @@ const debounce = (callback, delay) => { */ class Connection { constructor() { - this.RETRY_INTERVAL = 3000; + this.retryInterval = 3000; this.poll = null; this.connectionOpen = false; this.listeners = {}; @@ -199,14 +199,14 @@ class Connection { // Reset the polling timeout. It's important that we clear the previous timeout, as // we're about to lose its handle. clearTimeout(this.poll); - this.poll = setTimeout(() => this.connect(url), this.RETRY_INTERVAL); + this.poll = setTimeout(() => this.connect(url), this.retryInterval); }); this.ws.addEventListener("message", event => { this.listeners["message"] && this.listeners["message"](event); }); - this.poll = setTimeout(() => this.connect(url), this.RETRY_INTERVAL); + this.poll = setTimeout(() => this.connect(url), this.retryInterval); } send(what) { @@ -453,7 +453,7 @@ class App { const settingsJson = this.serializer.writeJson(this.simpleViewer.getSettings()).slice(); if (this.previousSettingsJson != settingsJson) { if (this.connection.isConnected()) { - this.connection.send("setttings.json"); + this.connection.send("settings.json"); this.connection.send(settingsJson); } this.previousSettingsJson = settingsJson;