Пример #1
0
            protected override bool ReleaseHandle()
            {
                var ret = Encode.Destroy(handle);

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

                return(true);
            }