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