Commit 951cf45
assistant: fix crash when register fallback media handler
It is possible that the callback from libassistant comes right after
assistant_manager is stopped/reset. Let's guard this case.
Bug: 879390
Test: locally build
Change-Id: Iea2fe174a02627e6d61406a1319d172470028afd
Reviewed-on: https://chromium-review.googlesource.com/1198105
Reviewed-by: Muyuan Li <muyuanli@chromium.org>
Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#587879}(cherry picked from commit c3a7b6f)
Reviewed-on: https://chromium-review.googlesource.com/1207930
Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org>
Cr-Commit-Position: refs/branch-heads/3538@{#58}
Cr-Branched-From: 79f7c91-refs/heads/master@{#587811}1 parent b5260c8 commit 951cf45
File tree
1 file changed
+13
-1
lines changed- chromeos/services/assistant
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
136 | 143 | | |
137 | 144 | | |
138 | 145 | | |
| |||
735 | 742 | | |
736 | 743 | | |
737 | 744 | | |
| 745 | + | |
| 746 | + | |
738 | 747 | | |
739 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
740 | 752 | | |
741 | 753 | | |
742 | 754 | | |
| |||
0 commit comments