summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-25 00:00:13 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-25 00:00:13 -0400
commit4e02a01d6925fc4f02377bb0867a374a6e2b7fc4 (patch)
treee77fc7d611432606c715faeae698d6bb4c0d802d /src/SMAPI/Framework/ModLoading
parent59c9f1c7bfa915901d977f73bc3e1575ff806c6c (diff)
downloadSMAPI-4e02a01d6925fc4f02377bb0867a374a6e2b7fc4.tar.gz
SMAPI-4e02a01d6925fc4f02377bb0867a374a6e2b7fc4.tar.bz2
SMAPI-4e02a01d6925fc4f02377bb0867a374a6e2b7fc4.zip
dispose assembly data once mods are loaded
Diffstat (limited to 'src/SMAPI/Framework/ModLoading')
-rw-r--r--src/SMAPI/Framework/ModLoading/AssemblyLoader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
index d41774a9..ba4c3f5c 100644
--- a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
+++ b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
@@ -134,7 +134,7 @@ namespace StardewModdingAPI.Framework.ModLoading
/// assemblies (especially with Mono). Since this is meant to be called on <see cref="AppDomain.AssemblyResolve"/>,
/// the implicit assumption is that loading the exact assembly failed.
/// </remarks>
- public Assembly ResolveAssembly(string name)
+ public static Assembly ResolveAssembly(string name)
{
string shortName = name.Split(new[] { ',' }, 2).First(); // get simple name (without version and culture)
return AppDomain.CurrentDomain