/// <summary> /// When a PathProber is destroyed, remove its cached information. /// </summary> /// <param name="prober">The path prober that was destroyed.</param> internal static void Cleanup(PathProber prober) { pathCache.TryRemove(prober, out _); }