diff options
| author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-12 23:46:32 -0500 |
|---|---|---|
| committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-12 23:46:32 -0500 |
| commit | ff94a8149ed5a0f597500bfb2b1896bdb2f1fff3 (patch) | |
| tree | 2bf3d84448229e3a2858939b8dd253521f7b1f64 /src/SMAPI/Framework/ContentManagers | |
| parent | e4a7ca5826ae0cb372aec529c4f21a53c98079da (diff) | |
| download | SMAPI-ff94a8149ed5a0f597500bfb2b1896bdb2f1fff3.tar.gz SMAPI-ff94a8149ed5a0f597500bfb2b1896bdb2f1fff3.tar.bz2 SMAPI-ff94a8149ed5a0f597500bfb2b1896bdb2f1fff3.zip | |
fix assets not being disposed when a content manager is disposed
Diffstat (limited to 'src/SMAPI/Framework/ContentManagers')
| -rw-r--r-- | src/SMAPI/Framework/ContentManagers/BaseContentManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs b/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs index 5283340e..93fd729b 100644 --- a/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs +++ b/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs @@ -200,7 +200,7 @@ namespace StardewModdingAPI.Framework.ContentManagers return true; } return false; - }); + }, dispose); return removeAssetNames.Select(p => Tuple.Create(p.Key, p.Value)); } |
