The issue involves stream behavior changes but lacks clear implementation details.
The issue proposes adding checks for stream destruction during `_final` and `_write` methods, but the exact behavior (throw vs. emit error) is still under discussion. This requires understanding stream internals and careful handling of edge cases, making it moderately complex.
Not sure if this is a problem but I think we should at least add a comment in the code that this case has been considered.
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!