Skip to content
Snippets Groups Projects
Commit f28767a2 authored by Derek Gonyeo's avatar Derek Gonyeo Committed by CQ bot account: commit-bot@chromium.org
Browse files

[component_manager] reduce scope of mutex around realms

Instead of using Arc<Mutex<Realm>> everywhere, move the mutex to the
internals of the Realm struct and only lock it when accessing mutable
data.

Change-Id: I4e8a745104e26c4f0555e1c5577d05a6fa52403e
parent b49e5ebc
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