summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/Mod.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Mod.cs b/src/SMAPI/Mod.cs
index cffe2998..f764752b 100644
--- a/src/SMAPI/Mod.cs
+++ b/src/SMAPI/Mod.cs
@@ -49,6 +49,7 @@ namespace StardewModdingAPI
/// <summary>Destruct the instance.</summary>
~Mod()
{
+ (this.Helper as IDisposable)?.Dispose(); // deliberately do this outside overridable dispose method so mods don't accidentally suppress it
this.Dispose(false);
}
}