/// <summary> /// Performs a full garbage collection. /// </summary> public void CollectGarbage() { Native.ThrowIfError(Native.JsCollectGarbage(this)); }