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:
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