audioserver: Use '_exit' instead of 'exit' in HalDeathHandler
Using 'exit' from an RPC threadpool thread is not safe, as 'exit'
runs atexit handlers that destroy global objects. This can interfere
with code still running on other threads.
'_exit' does not run atexit handlers, just terminates the process.
Test: kill email@example.com, check logcat
(cherry picked from commit 5beb4810060cda2afea1c89f98caf5c337763c0a)
(cherry picked from commit 06c5d535332898944d627b6e114d1f39ae3e6c86)
1 file changed