Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb711fcd authored by Mikhail Naganov's avatar Mikhail Naganov Committed by android-build-merger
Browse files

audioserver: Use '_exit' instead of 'exit' in HalDeathHandler

am: 06c5d535

Change-Id: Ifa0f25481395646d81dc61b572262c527c86d0b5
parents 1f217718 06c5d535
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ void HalDeathHandler::serviceDied(uint64_t /*cookie*/, const wp<IBase>& /*who*/)
        handler.second();
    }
    ALOGE("HAL server crashed, audio server is restarting");
    exit(1);
    _exit(1);  // Avoid calling atexit handlers, as this code runs on a thread from RPC threadpool.
}

} // namespace android