You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filter creation function NewPendingTransactionFilter creates PendingTransactionFilter with subscription, when error occurs, it should remove the subsription as cleanup.
Actual behaviour
The filter creation function NewPendingTransactionFilter exhibit resource leaks by failing to properly unsubscribe from event subscriptions when errors occur. While the existing timeout mechanism provides eventual cleanup, this represents a suboptimal resource management pattern that could lead to gradual performance degradation in long-running services.