forta-network / forta-node

Scan Node software for the Forta Network
https://forta.org
Other
79 stars 151 forks source link

Fix memory leak on failed bot initialization #812

Closed nildar closed 1 year ago

nildar commented 1 year ago

If a bot initialization failed it's can't process requests and can't be gracefully closed that leads to memory leak.

canercidam commented 1 year ago

Nice catch @nildar, thanks!