 
     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


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

            preparse : true
            cb       : undefined
        uuid = misc.uuid()
        if @_execute_callbacks?
            @_execute_callbacks.push(uuid)
        else
            @_execute_callbacks = [uuid]
        salvus_client.send(
            message.codemirror_execute_code
                id   : uuid
