 
 _bindStackEvents = ->
 
+  return  if _eventsCache.stack is yes
+
+  _eventsCache.stack = yes
+
   { reactor, computeController } = kd.singletons
 
   computeController.on 'StackRevisionChecked', (stack) ->


  machines.map (machine, id) ->

    return  if _machineEventsCache[id]

    _machineEventsCache[id] = yes

    computeController.on "public-#{id}", (event) ->


environmentDataProvider = require 'app/userenvironmentdataprovider'


_eventsCache =
  machine    : {}
  stack      : no


_bindMachineEvents = (environmentData) ->
