mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 23:12:56 +08:00
Why AbandonedMutexException?
This commit is contained in:
parent
d929de466a
commit
e911441394
@ -66,7 +66,7 @@ namespace osu.Game.IO.Legacy
|
|||||||
public DateTime ReadDateTime()
|
public DateTime ReadDateTime()
|
||||||
{
|
{
|
||||||
long ticks = ReadInt64();
|
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);
|
return new DateTime(ticks, DateTimeKind.Utc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user