1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +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);