1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:47:24 +08:00

Add finalizer to sentry logger for safety

This commit is contained in:
Dean Herbert 2022-05-10 14:45:55 +09:00
parent 9734d778f4
commit 99e6d56508

View File

@ -41,6 +41,8 @@ namespace osu.Game.Utils
Logger.NewEntry += processLogEntry;
}
~SentryLogger() => Dispose(false);
public void AttachUser(IBindable<APIUser> user)
{
Debug.Assert(localUser == null);