Fix Audio Cleanup On Render Abort

This commit is contained in:
copecone committed 2026-10-13 15:37:16 +09:00
1 parent 89f15eca1e
commit 455436e744
2 files changed
+28 -12

No files matched your search

+1
View File
@@ -171,6 +171,7 @@ internal static class AudioSpectrumGenerator
if (!_view.IsValid || !_view.Contains(frame))
{
source.Release(_view);
_view = default;
_view = _store!.Acquire(source, frame);
if (!_view.IsValid) return 0.0;
}