whole_func_string: function _destroyNode(node) {
  
          // Remove node from linked-list
          if (node._next) {
              node._next._prev = node._prev;
          }
          if (node._prev) {
              node._prev._next = node._next;
          }
          else {
              this._first = node._next;
          }
  
          // Destroy the node
          node.destroy();
  
          // Add node to pool
          if (this._pool.layoutNodes.size < MAX_POOL_SIZE) {
              this._pool.layoutNodes.size++;
              node._prev = undefined;
              node._next = this._pool.layoutNodes.first;
              this._pool.layoutNodes.first = node;
          }
      }
func_code_string: function _destroyNode(node) {
  
          // Remove node from linked-list
          if (node._next) {
              node._next._prev = node._prev;
          }
          if (node._prev) {
              node._prev._next = node._next;
          }
          else {
              this._first = node._next;
          }
  
          // Destroy the node
          node.destroy();
  
          // Add node to pool
          if (this._pool.layoutNodes.size < MAX_POOL_SIZE) {
              this._pool.layoutNodes.size++;
              node._prev = undefined;
              node._next = this._pool.layoutNodes.first;
              this._pool.layoutNodes.first = node;
          }
      }
func_documentation_string: Destroys a layout-node