cosmos-sdk/x/simulation
Emmanuel T Odeke 9369a00557
x/simulation: make signals channel buffered to avoid missing signals (#7952)
Invoking:

    c := make(chan os.Signal)
    signal.Notify(c, signals...)

is explicitly called out as a bug in the os/signal docs
and should instead make that channel buffered lest
a signal could be lost.

Fixes #7950

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2020-11-17 14:27:12 +00:00
..
doc.go Merge PR #4838: Sim refactor 2 - Move GenesisState generators to modules 2019-08-28 10:58:25 -04:00
event_stats.go lint: official action (#6156) 2020-05-07 09:40:49 +00:00
log.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
mock_tendermint.go LGTM alerts audit (#7440) 2020-10-02 15:13:58 +02:00
operation.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
params.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
params_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
simulate.go x/simulation: make signals channel buffered to avoid missing signals (#7952) 2020-11-17 14:27:12 +00:00
transition_matrix.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
util.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00