go-ethereum/p2p/simulations/adapters
Bin 0bbd88bda0
all: use timer instead of time.After in loops, to avoid memleaks (#29241)
time.After is equivalent to NewTimer(d).C, and does not call Stop if the timer is no longer needed. This can cause memory leaks. This change changes many such occations to use NewTimer instead, and calling Stop once the timer is no longer needed.
2024-04-09 08:51:54 +02:00
..
exec.go all: use timer instead of time.After in loops, to avoid memleaks (#29241) 2024-04-09 08:51:54 +02:00
inproc.go all: fix typos in comments (#28881) 2024-02-05 22:16:32 +01:00
inproc_test.go p2p/simulations/adapters: fix error messages in TestTCPPipeBidirections (#29207) 2024-03-10 20:01:26 +01:00
types.go all: fix mismatched names in comments (#29348) 2024-03-26 21:01:28 +01:00