Beispiel #1
0
 internal static void Delete(IntPtr artistPtr)
 {
     lock (artistsLock)
     {
         Artist artist = artists[artistPtr];
         int    count  = artist.RemRef();
         if (count == 0)
         {
             artists.Remove(artistPtr);
         }
     }
 }