Merge pull request #4437 from peppy/fix-resharper-inspection

Fix stuck r# inspection
This commit is contained in:
Dean Herbert 2019-03-08 12:43:17 +09:00 committed by GitHub
commit c4cc72cad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,14 +20,14 @@ namespace osu.Game.Utils
private readonly List<Task> tasks = new List<Task>();
private Exception lastException;
public RavenLogger(OsuGame game)
{
raven.Release = game.Version;
if (!game.IsDeployedBuild) return;
Exception lastException = null;
Logger.NewEntry += entry =>
{
if (entry.Level < LogLevel.Verbose) return;