1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Why AbandonedMutexException?

This commit is contained in:
Huo Yaoyuan 2017-05-16 21:23:14 +08:00
parent d929de466a
commit e911441394

View File

@ -66,7 +66,7 @@ namespace osu.Game.IO.Legacy
public DateTime ReadDateTime()
{
long ticks = ReadInt64();
if (ticks < 0) throw new AbandonedMutexException("oops");
if (ticks < 0) throw new IOException("Bad ticks count read!");
return new DateTime(ticks, DateTimeKind.Utc);
}