BramComyn / safeguard-fetch

0 stars 0 forks source link

Fix event handlers to be more specific about what conditions to close their request in #47

Closed BramComyn closed 1 month ago

BramComyn commented 1 month ago

Description

In the latest integration test committed and pushed to #45, I have found an bug. My event handlers are way too simple in detecting what situations to close their requests in. This makes it so that, when I have multiple handlers active on the response event, sometimes the request will be closed when it shouldn't be.