mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
12 lines
316 B
C#
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();
|
|
}
|
|
}
|