 
     disconnect_from_session: (cb) =>
         @_remove_listeners()
+        @_remove_execute_callbacks()
         if @session_uuid?
             # no need to re-disconnect (and would cause serious error!)
             salvus_client.call


        # store pref in localStorage to not auto-open this file next time
        @editor.local_storage('auto_open', false)

        @chat_session?.disconnect_from_session()

    execute_code: (opts) =>


    disconnect_from_session: (cb) =>
        @_remove_listeners()
        if @session_uuid? # no need to re-disconnect if not connected (and would cause serious error!)
            salvus_client.call
                timeout : 10
                message : message.codemirror_disconnect(session_uuid : @session_uuid)
