Skip to content

Conversation

@CertiK-Geth
Copy link
Contributor

Unsubscribe from active subscriptions when their parent error paths are hit to avoid leaking goroutines/subscriptions. Changes:

  • eth/filters/api.go: unsubscribe chain, header and logs subscriptions on error/exit paths.
  • eth/gasprice/gasprice.go: defer unsubscribing from chain head subscription.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants