   onCollaborationEnding: ->
 
     @chat.settingsPane.endSession.disable()
+
+    @off 'SetMachineUser'
 
     if @amIHost
       @endCollaborationForHost =>


    @updateWorkspaceSnapshotModel()


  transitionViewsToActive: ->


    setMachineUser @mountedMachine, usernames, share, (err) =>
      return callback err  if err

      @emit 'SetMachineUser', usernames, share

      callback null

