mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Dispose of stream when creating config
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
- Save default config values for CLI
|
||||
- Allow custom parameters for CLI
|
||||
- Load options before anything else
|
||||
- Dispose of stream when creating config
|
||||
|
||||
### 3.2.0 (2024-06-20)
|
||||
|
||||
|
||||
@@ -429,7 +429,7 @@ namespace MPF.Frontend.Tools
|
||||
{
|
||||
if (!File.Exists(ConfigurationPath))
|
||||
{
|
||||
_ = File.Create(ConfigurationPath);
|
||||
File.Create(ConfigurationPath).Dispose();
|
||||
return new Options();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user