aboutsummaryrefslogtreecommitdiffstats
path: root/ethstats
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 /ethstats
parentef7b9fb7d0cbcc2e381074f6be82e4791c41bdeb (diff)
downloadgo-tangerine-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar
go-tangerine-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.gz
go-tangerine-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.bz2
go-tangerine-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.lz
go-tangerine-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.xz
go-tangerine-e20158176d2061ff95cdf022aa7113aa7c47a98e.tar.zst
go-tangerine-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 'ethstats')
0 files changed, 0 insertions, 0 deletions