diff options
author | Alexander Kiryukhin <a.kiryukhin@corp.mail.ru> | 2019-01-11 17:28:36 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@corp.mail.ru> | 2019-01-11 17:28:36 +0300 |
commit | d64ca3bd06c6a2c702f3604d95658566907a9beb (patch) | |
tree | 376088139d7cf00e4263ed2809640411768abb0b | |
parent | 35314abd1405e8d063ecd3e250c019b6937e5cc1 (diff) |
Fix cancel context on signalv0.1.0
-rwxr-xr-x | rutina.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -54,7 +54,6 @@ func (r *Rutina) ListenTermSignals() { signal.Notify(sig, syscall.SIGTERM, syscall.SIGINT) select { case <-sig: - r.cancel() case <-ctx.Done(): } return nil |