[Fix] Deinitialize the audio manager to avoid memory leaks.
Merge pull request #6009 from ace20022/audio_leaks

[Fix] Deinitialize the audio manager to avoid memory leaks.