 
   destroy: ->
 
-    @menu?.destroy()
+    MENU?.destroy()
 
     super

class IDE.StatusBarAvatarView extends AvatarView

  INTENT_DELAY = 177

  constructor: (options = {}, data) ->



      { watchMap, sessionHost } = collaborationData

      isWatching  = watchMap.indexOf(@nickname) > -1
      title       = if isWatching then 'Unwatch' else 'Watch'
      menuWidth   = 172

      menuItems[title] =
        title    : title
        callback : (item, e) => @setWatchState isWatching, @nickname, item

      if sessionHost is KD.nick()
        menuItems.Kick =
          title     : 'Kick'
          callback  : =>
            MENU?.destroy()
            KD.singletons.appManager.tell 'IDE', 'kickParticipant', @getData()

      MENU = new KDContextMenu
        nickname    : @nickname
        cssClass    : 'dark statusbar-files'
        event       : event
        delegate    : this
