MetaMask / eth-block-tracker

A JS module for keeping track of the latest Ethereum block by polling an ethereum provider
MIT License
132 stars 81 forks source link

When destroying a PollingBlockTracker, unset the last timer created during the polling loop #128

Open mcmire opened 1 year ago

mcmire commented 1 year ago

Failure to do so is causing "Jest did not exit one second after the test run has completed" in the tests for eth-json-rpc-middleware. See https://github.com/MetaMask/eth-json-rpc-middleware/pull/156.