Commit ac34d8e
Don't loop Cef exit while shutting down if task post fails
If the `manager_thread` exits early, there will be no message loop to
post the task to, and a permanent deadlock would occur. Rather than
guaranteeing a deadlock, this at least lowers the odds of one.
A future implementation might be more aware of the run state of the
manager thread and handle these exit scenarios more explicitly.1 parent 46adc4b commit ac34d8e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
782 | | - | |
783 | | - | |
| 782 | + | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| |||
0 commit comments