diff --git a/IntroSkipper/Plugin.cs b/IntroSkipper/Plugin.cs index be31be5..17b030c 100644 --- a/IntroSkipper/Plugin.cs +++ b/IntroSkipper/Plugin.cs @@ -111,6 +111,7 @@ public class Plugin : BasePlugin, IHasWebPages if (serializer.Deserialize(reader) is PluginConfiguration oldConfig) { Instance.UpdateConfiguration(oldConfig); + fileStream.Close(); File.Delete(oldConfigFile); } }