Commit a9771176 authored by Randall Leeds's avatar Randall Leeds

Don't resolve the updater in the promise store

Besides potentially delaying the websocket connection unnecessarily,
this was causing a subtle race condition wherein the stream would
miss a digest and appear blank. Reasons are unclear, and may hide
dragons.
parent a9f4fc46
......@@ -259,9 +259,8 @@ class App
$scope.persona = persona
# Reload services
storeReady.promise.then ->
initStore()
initUpdater()
storeReady.promise.then -> initStore()
initUpdater()
annotator.subscribe 'serviceDiscovery', (options) ->
annotator.options.Store ?= {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment