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

Skip to content
Commit 2eb99915 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Ensure embedded window's channel is not disposed before being duped

If the InputChannel is created inside a critical section, but then
duped to another channel after the lock is released, it's possible
the channel could be disposed (e.g. because window is removed) before
the duplication happens. To prevent this, dup the InputChannel in the
same critical section as where it was created.

Bug: 283314325
Test: Presubmit
Change-Id: I00dd3e54240512a6d2ddfe7ec40a6c4f14d837fc
parent 6bcaace5
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