Fix two potential dead locks in audio engine (this fixed the hang on exit issue on Windows)
Fix two potential dead locks in audio engine (this fixed the hang on exit issue on Windows)

graphitemaster/neothyne,graphitemaster/neothyne