UnityEditor.PackageImport.DestroyCreatedIcons C# (CSharp) Method

DestroyCreatedIcons() private method

private DestroyCreatedIcons ( ) : void
return void
        private void DestroyCreatedIcons()
        {
            if (s_Preview != null)
            {
                UnityEngine.Object.DestroyImmediate(s_Preview);
                s_Preview = null;
                s_LastPreviewPath = null;
            }
            if (s_PackageIcon != null)
            {
                UnityEngine.Object.DestroyImmediate(s_PackageIcon);
                s_PackageIcon = null;
            }
        }