go-ethereum/core/bloombits
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
..
doc.go
generator.go core/bloombits: faster generator (#21625) 2020-10-06 16:34:29 +03:00
generator_test.go all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
matcher.go all: use timer instead of time.After in loops, to avoid memleaks (#29241) 2024-04-09 08:51:54 +02:00
matcher_test.go core: fix typos (#28218) 2023-09-29 10:52:22 +03:00
scheduler.go
scheduler_test.go core/bloombits: use atomic type (#26993) 2023-03-28 03:05:29 -04:00