From a9a71680a9fec0fb611d9ef214ca35ef29c10cdf Mon Sep 17 00:00:00 2001 From: AutumnSky1010 <66455966+AutumnSky1010@users.noreply.github.com> Date: Sat, 29 Jun 2024 13:40:09 +0900 Subject: [PATCH] :bug: Remove using. --- src/SoundMaker/WaveFile/WaveWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SoundMaker/WaveFile/WaveWriter.cs b/src/SoundMaker/WaveFile/WaveWriter.cs index f54673c..a67c66f 100644 --- a/src/SoundMaker/WaveFile/WaveWriter.cs +++ b/src/SoundMaker/WaveFile/WaveWriter.cs @@ -36,7 +36,7 @@ public void Write(string path) /// stream public void Write(Stream stream) { - using var writer = new BinaryWriter(stream); + var writer = new BinaryWriter(stream); foreach (var chunk in Chunks) { writer.Write(chunk.GetBytes());