aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2017-05-17 02:56:02 +0800
committerGitHub <noreply@github.com>2017-05-17 02:56:02 +0800
commite20158176d2061ff95cdf022aa7113aa7c47a98e (patch)
treea8850b9374d182b490b52c4f407d3c2efd4778c5 /core
parentef7b9fb7d0cbcc2e381074f6be82e4791c41bdeb (diff)
downloaddexon-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar
dexon-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.gz
dexon-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.bz2
dexon-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.lz
dexon-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.xz
dexon-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.zst
dexon-e20158176d2061ff95cdf022aa7113aa7c47a98e.zip
les: fix goroutine leak in execQueue (#14480)
execQueue used an atomic counter to track whether the queue had been closed, but the checking the counter didn't happen because the queue was blocked on its channel. Fix it by using a condition variable instead of sync/atomic. I tried an implementation based on channels first, but it was hard to make it reliable. quit now waits for the queue loop to exit.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions