Correct workaround for bug 41701

It's fixed since 4.5.3 onwards: e62c5b001d
This commit is contained in:
JustArchi
2016-07-21 19:20:39 +02:00
parent 3e8ef399dc
commit ba40448e7d

View File

@@ -56,6 +56,7 @@ namespace ArchiSteamFarm {
}
}
// TODO: Remove me once Mono 4.6 is released
internal static bool RequiresWorkaroundForMonoBug41701() {
// Mono only, https://bugzilla.xamarin.com/show_bug.cgi?id=41701
if (!IsRunningOnMono) {
@@ -67,7 +68,7 @@ namespace ArchiSteamFarm {
return false;
}
return monoVersion >= new Version(4, 4);
return (monoVersion >= new Version(4, 4)) && (monoVersion <= new Version(4, 5, 2));
}
private static Version GetMonoVersion() {