diff options
| author | 2019-10-29 15:22:04 -0700 | |
|---|---|---|
| committer | 2019-10-29 15:27:32 -0700 | |
| commit | 8cc19911b1107a50c53593462b1cc37a38fcdfcb (patch) | |
| tree | be19c48f0dd6ec449f2bd2f90f044b161c2074a8 /rust/compiler.go | |
| parent | 765fe7a50194bd16e4d08e80c45ce7ef17f1e09f (diff) | |
smart_status: move channel write outside lock to avoid deadlock
The smartStatusOutput.done channel is read from a goroutine that
locks smartStatusOutput.lock. If the goroutine that writes to
smartStatusOutput.done is holding smartStatusOutput.lock it can
lead to an AB-BA deadlock. Call stopActionTableTick from outside
the lock.
Fixes: 143558785
Test: none
Change-Id: I93a10ef9ff16c3953a1c5ccb102b024158358fe4
Diffstat (limited to 'rust/compiler.go')
0 files changed, 0 insertions, 0 deletions