This commit is contained in:
Huo Yaoyuan
2019-11-12 22:08:16 +08:00
parent e01a50e4b3
commit 6ae6603ded
2 changed files with 5 additions and 7 deletions

View File

@ -2,10 +2,8 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using osu.Framework.Logging;
using Sentry;
@ -102,7 +100,7 @@ namespace osu.Game.Utils
return;
isDisposed = true;
sentry.Dispose();
sentry?.Dispose();
sentry = null;
}