public void Dispose() { if (disposed) { return; } disposed = true; runtime?.Dispose(); }
public void Dispose() { if (disposed) { return; } disposed = true; if (runtime != null) { runtime.Dispose(); } }
protected void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { runtime.Dispose(); } disposed = true; }