 
         destroy: =>
             @default_view.destroy()
+            @result_view.destroy()
 
 
     class @ResultView extends Backbone.View

                height = $('.'+classname)[0].scrollHeight
                $('.'+classname).height(height)

    class @DefaultView extends Backbone.View
        className: 'helper_view'
        template: Handlebars.compile $('#dataexplorer_default_view-template').html()

        template_suggestion_name: Handlebars.compile $('#dataexplorer_suggestion_name_li-template').html()

        events:
            'click .CodeMirror': 'handle_keypress'
            'mousedown .suggestion_name_li': 'select_suggestion' # Keep mousedown to compete with blur on .input_query
            'mouseover .suggestion_name_li' : 'mouseover_suggestion'
            'mouseout .suggestion_name_li' : 'mouseout_suggestion'
