aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/public/assets
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-01-20 15:25:46 +0100
committerSimon Ser <contact@emersion.fr>2020-01-20 15:25:46 +0100
commite6e457e4a72b77ca3c9d8a6154d78cb9bbf1c786 (patch)
tree5840013c0835dd9865786ac114677c3b2e89ce53 /plugins/base/public/assets
parent8b10324ab64c3c99e46ed272dd5d32c89ff156a1 (diff)
downloadalps-e6e457e4a72b77ca3c9d8a6154d78cb9bbf1c786.tar.gz
alps-e6e457e4a72b77ca3c9d8a6154d78cb9bbf1c786.zip
Fix dangling goroutine on session expiration
The timer channel may already have been drained by `case <-timer.C`. In this case, we need not to drain it again or we'll block forever. To fix this, stop draining the timer channel. Since we're not going to use the timer again anyway, it should be fine.
Diffstat (limited to 'plugins/base/public/assets')
0 files changed, 0 insertions, 0 deletions