tinymce.full.js
function () {
        var self = this;

        // Unbind all events bound to window/document by editor instance
        if (self.boundEvents) {
          var i = self.boundEvents.length;

          while (i--) {
            var item = self.boundEvents[i];
            this.events.unbind(item[0], item[1], item[2]);
          }

          self.boundEvents = null;
        }

        // Restore sizzle document to window.document
        // Since the current document might be removed producing "Permission denied" on IE see #6325
        if (Sizzle.setDocument) {
          Sizzle.setDocument();
        }

        self.win = self.doc = self.root = self.events = self.frag = null;
      }
function () {
        var self = this;

        // Unbind all events bound to window/document by editor instance
        if (self.boundEvents) {
          var i = self.boundEvents.length;

          while (i--) {
            var item = self.boundEvents[i];
            this.events.unbind(item[0], item[1], item[2]);
          }

          self.boundEvents = null;
        }

        // Restore sizzle document to window.document
        // Since the current document might be removed producing "Permission denied" on IE see #6325
        if (Sizzle.setDocument) {
          Sizzle.setDocument();
        }

        self.win = self.doc = self.root = self.events = self.frag = null;
      }
function ( ) { var self = this ; // Unbind all events bound to window/document by editor instance if ( self . boundEvents ) { var i = self . boundEvents . length ; while ( i -- ) { var item = self . boundEvents [ i ] ; this . events . unbind ( item [ 0 ] , item [ 1 ] , item [ 2 ] ) ; } self . boundEvents = null ; } // Restore sizzle document to window.document // Since the current document might be removed producing "Permission denied" on IE see #6325 if ( Sizzle . setDocument ) { Sizzle . setDocument ( ) ; } self . win = self . doc = self . root = self . events = self . frag = null ; }
Destroys all internal references to the DOM to solve IE leak issues.

@method destroy
Destroys all internal references to the DOM to solve IE leak issues .