brutal/Brutal.Sdl.Mixer/Manual/Libraries/SdlMixer.Init.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

12 lines
316 B
C#

namespace Brutal.SdlApi.Mixer;
public static unsafe partial class SdlMixer
{
public static void Quit()
{
// Free the callback GCHandles only after MIX_Quit returns; the audio thread uses them until then.
PInvoke.Quit();
ClearCallbacks();
ExceptionAggregator.Clear();
}
}