From dd06205399fab610acbf533caf243ff2113d6cf9 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Wed, 5 Apr 2023 01:18:13 -0700 Subject: [PATCH] stop static sound instance on Free --- src/Audio/StaticSoundInstance.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Audio/StaticSoundInstance.cs b/src/Audio/StaticSoundInstance.cs index 9b0a445..b104a6c 100644 --- a/src/Audio/StaticSoundInstance.cs +++ b/src/Audio/StaticSoundInstance.cs @@ -115,6 +115,7 @@ namespace MoonWorks.Audio public void Free() { + StopImmediate(); Parent.FreeInstance(this); }