src/map/Map.js
function () {
    for (var i in this._layers) {
      this.removeLayer(this._layers[i]);
		}

    L.Map.prototype.remove.call(this);
    return this;
	}
function () {
    for (var i in this._layers) {
      this.removeLayer(this._layers[i]);
		}

    L.Map.prototype.remove.call(this);
    return this;
	}
Manually remove layers before destroying map. See https://github.com/Leaflet/Leaflet/issues/2718