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

Skip to content
Commit d5913833 authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov
Browse files

Do not leak Future when CompanionTransportManager.sendMessage() thows

Remove CompletableFuture callback object from mPendingRequests if
sendMessage() throws an IOException.

Bug: 237030169
Test: atest CompanionTests
Change-Id: I067cc5f1b7b86a20d2bf74229d6bd9c5fda74e35
parent 7a14fb2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment