private void DestroyInstance() { if (_handle != IntPtr.Zero) { if (_is64Bit) { SoundTouchInterop64.soundtouch_destroyInstance(_handle); } else { SoundTouchInterop32.soundtouch_destroyInstance(_handle); } _handle = IntPtr.Zero; } }