nodejs / readable-stream

Node-core streams for userland
https://nodejs.org/api/stream.html
Other
1.03k stars 227 forks source link

Fixing a TypeError bug when state is undefined #419

Closed TahaBoulehmi closed 4 years ago

TahaBoulehmi commented 4 years ago

I'm fixing a bug. Sometimes state is undefined and I get a Type Error: "TypeError: Cannot read property 'corked' of undefined"

mcollina commented 4 years ago

This is an export from Node core. It would be good to have a way to reproduce this so we can fix it upstream.

vweevers commented 4 years ago

If it can still be reproduced please open an issue in node with details. Thanks!