public void Destroy() { if (environment != IntPtr.Zero) { PhononCore.iplDestroyEnvironment(ref environment); } }