We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a62b222 commit 4b38e0eCopy full SHA for 4b38e0e
Flow.Launcher.Infrastructure/Storage/JsonStorage.cs
@@ -190,7 +190,7 @@ public void Save()
190
191
public async Task SaveAsync()
192
{
193
- var tempOutput = File.OpenWrite(TempFilePath);
+ await using var tempOutput = File.OpenWrite(TempFilePath);
194
await JsonSerializer.SerializeAsync(tempOutput, Data,
195
new JsonSerializerOptions { WriteIndented = true });
196
AtomicWriteSetting();
0 commit comments