示例#1
0
        protected override bool ReleaseHandle()
        {
            var ret = NativePlayer.Destroy(handle);

            if (ret != PlayerErrorCode.None)
            {
                Log.Debug(GetType().FullName, $"Failed to release native {GetType().Name}");
                return(false);
            }

            return(true);
        }