mirror of
https://github.com/ppy/osu
synced 2025-01-16 11:01:03 +00:00
Add finalizer to sentry logger for safety
This commit is contained in:
parent
9734d778f4
commit
99e6d56508
@ -41,6 +41,8 @@ namespace osu.Game.Utils
|
||||
Logger.NewEntry += processLogEntry;
|
||||
}
|
||||
|
||||
~SentryLogger() => Dispose(false);
|
||||
|
||||
public void AttachUser(IBindable<APIUser> user)
|
||||
{
|
||||
Debug.Assert(localUser == null);
|
||||
|
Loading…
Reference in New Issue
Block a user