This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View file

@ -0,0 +1,12 @@
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();
}
}