diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-23 22:11:11 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-23 22:11:11 -0400 |
commit | 7f35e74ca17f50cb461abff51ede4f0cf0a8e3dd (patch) | |
tree | f8462259f36340834d42d5cd871ebf58335c102b /src/SMAPI/Framework | |
parent | c37280222dac3409f78413d90c8e50f6d410b3d1 (diff) | |
download | SMAPI-7f35e74ca17f50cb461abff51ede4f0cf0a8e3dd.tar.gz SMAPI-7f35e74ca17f50cb461abff51ede4f0cf0a8e3dd.tar.bz2 SMAPI-7f35e74ca17f50cb461abff51ede4f0cf0a8e3dd.zip |
fix object-disposed error
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/SCore.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index 2346550e..c4fb3b5d 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -349,10 +349,10 @@ namespace StardewModdingAPI.Framework // dispose core components this.IsGameRunning = false; - this.LogManager?.Dispose(); this.ContentCore?.Dispose(); this.CancellationToken?.Dispose(); this.GameInstance?.Dispose(); + this.LogManager?.Dispose(); // dispose last to allow for any last-second log messages // end game (moved from Game1.OnExiting to let us clean up first) Process.GetCurrentProcess().Kill(); |