示例#1
0
 void OnDestroy()
 {
     if (m_pinnedPoints != null)
     {
         m_pinnedPoints.Dispose();
     }
 }
示例#2
0
文件: FFDAPI.cs 项目: PcloD/FFD
 // utrils
 public static void SafeDispose <T>(ref PinnedList <T> v) where T : struct
 {
     if (v != null)
     {
         v.Dispose();
         v = null;
     }
 }