mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 10:17:19 +08:00
Check cancellation token if importer was resumed while sleeping
This commit is contained in:
parent
a1fbfe4b8b
commit
8a05223591
@ -569,6 +569,7 @@ namespace osu.Game.Database
|
|||||||
Thread.Sleep(500);
|
Thread.Sleep(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cancellationToken.ThrowIfCancellationRequested();
|
||||||
Logger.Log($@"{GetType().Name} is being resumed.");
|
Logger.Log($@"{GetType().Name} is being resumed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user