Open AlexCuse opened 9 years ago
This is kinda crappy but I guess it works if I understand right.
public CriticalRenderingSection(string path)
{
try
{
mutex = MutexProvider.GetMutexForPath(path);
mutex.WaitOne();
}
catch
{
mutex = null;
}
}
Medium trust in general is going to be more painful now, some of the directory manipulation stuff needed for preprocessing fails when invoked as well. Core functionality should still work OK.
Seems our mutex usage is problematic running under .net 4
ex: