go-ethereum/eth/filters
Stephen Buttolph d8ff026f89
fix: filters.FilterAPI goroutine leak (#254)
## Why this should be merged

This allows closing the `timeoutLoop` goroutine. Closing goroutines is
the best-practice. But, more importantly, this causes the
`filters.Backend` to never be GCed. Which is causing GC tests to fail in
SAE.

## How this works

I tried to make this as minimal of a diff as possible.

## How this was tested

With this change, the SAE tests are passing:
https://github.com/ava-labs/strevm/pull/64
2026-01-03 16:54:33 -05:00
..
api.go fix: filters.FilterAPI goroutine leak (#254) 2026-01-03 16:54:33 -05:00
api.libevm.go fix: filters.FilterAPI goroutine leak (#254) 2026-01-03 16:54:33 -05:00
api.libevm_test.go fix: filters.FilterAPI goroutine leak (#254) 2026-01-03 16:54:33 -05:00
api_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
bench_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
filter.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
filter_system.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
filter_system_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
filter_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00