Chromium Code Reviews
Description[battor agent] Make BattOr agent block until the BattOrAgent is created
This fixes a crash that would be triggered when a command was sent to
the agent very quickly after it started. In this case, battor_agent_bin
would try to use the BattOrAgent before it was initialized, resulting
in a segfault.
BUG=620010
Committed: https://crrev.com/52328d3bf192548208dd14181f76dc63ba2b7512
Cr-Commit-Position: refs/heads/master@{#399906}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add comment about why sync is necessary #Messages
Total messages: 11 (5 generated)
|