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

Commit 98ef00fe authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Defer endpoint session cleanup on openSession HAL errors

This change defers the cleanup of endpoint session resources to an
executor when an exception occurs during the HAL `openEndpointSession`
call. Instead of synchronously cleaning up and re-throwing, the session
is closed asynchronously with an appropriate reason. The executor is
also renamed to reflect its broader use.

Bug: 443346395
Flag: EXEMPT BUGFIX
Test: Presubmit
Change-Id: I43c532b1c4970335f71acca217f6309f01de2e5a
parent 610f82fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment