sdl3-sample icon indicating copy to clipboard operation
sdl3-sample copied to clipboard

Warning closing application on MacOS

Open JoeShiverblade opened this issue 1 year ago • 4 comments

When closing the window on MacOS you get the following error after quit:

Application quit successfully!
AQ_Server_Common.h:48    Exception caught in AudioQueueInternalStop_Sync - error -66671
Program ended with exit code: 0

I'm new to SDL3 so I'm not sure if it's an SDL3 shutdown issue with a mutex or if there is a missed shutdown here in the template.

JoeShiverblade avatar Jan 03 '25 21:01 JoeShiverblade

I am able to reproduce this. I don't think I have missed any resource frees (feel free to check me), so it might be an SDL bug.

Ravbug avatar Jan 04 '25 19:01 Ravbug

Note that in the latest build this does not reproduce and so I'm guessing it was fixed in SDL.

JoeShiverblade avatar Feb 10 '25 04:02 JoeShiverblade

I just tried this on the latest SDL and it's still happening for me so I'll keep this open.

Ravbug avatar Feb 10 '25 07:02 Ravbug

I'll test out a few things later tonight just to see if I can find any way to repro as maybe it can be narrowed down.

JoeShiverblade avatar Feb 10 '25 14:02 JoeShiverblade