/fixes #9052 /claim #9052

Issue is that when we pull from a child, when onDone is run we store the finalizers in the closeLastSubstream var. However, if the upstream is interrupted before the next time we pull from the child, we’re not running the finalizers.

This PR fixes it by:

  1. Ensuring that the closeLastSubstream is set to null only when the effect is run
  2. When running onClose, we also check if the closeLastSubstream != null and add those finalizers to the effect

Claim

Total prize pool $250
Total paid $250
Status Approved
Submitted August 08, 2024
Last updated August 09, 2024

Contributors

KY

Kyri Petrou

@kyri-petrou

100%

Sponsors

ZI

ZIO

@ZIO

$250 paid