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
Lock access to the subscriptionMapping table in the subscriptions module. This needs to be done in the getChanges exception handling when a new filter is created (on filter not found), and in the unsubscribe functions, at a minimum.
Create a test scenario where a memory leak would happen such that:
the filter not found error condition is created`
When eth_newFilter is called, and control is given to another function in the event loop (the test), unsubscribe is called which will attempt to delete a filter id that doesn't yet exist (since async control hadn't returned from the eth_newFilter call yet).
The text was updated successfully, but these errors were encountered:
Lock access to the
subscriptionMapping
table in thesubscriptions
module. This needs to be done in thegetChanges
exception handling when a new filter is created (onfilter not found
), and in theunsubscribe
functions, at a minimum.Create a test scenario where a memory leak would happen such that:
filter not found
error condition is created`eth_newFilter
is called, and control is given to another function in the event loop (the test),unsubscribe
is called which will attempt to delete a filter id that doesn't yet exist (since async control hadn't returned from theeth_newFilter
call yet).The text was updated successfully, but these errors were encountered: