On Sunday, 29 September 2019 at 04:37:43 UTC, Murilo wrote:
Thanks. Now, I would like to know if I could just use it like this instead:

What happens if an exception is thrown in the middle of your function? It shouldn't really matter (at least not with the newer versions) since it will automatically exit the audio thread when the main thread exits, but still there's definitely no benefit to writing it without the scope guard.

Reply via email to