aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/streams.exports.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/streams.exports.js')
-rw-r--r--src/bun.js/streams.exports.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/bun.js/streams.exports.js b/src/bun.js/streams.exports.js
index 9a21e5d44..988666388 100644
--- a/src/bun.js/streams.exports.js
+++ b/src/bun.js/streams.exports.js
@@ -2814,13 +2814,6 @@ var require_readable = __commonJS({
globalThis.reportError(error);
}
}
-
- // NOTE(Derrick): For whatever reason this seems to be necessary to make this work
- // I couldn't find out why .constructed was getting set to false
- // even though construct() was getting called
- _construct() {
- this._readableState.constructed = true;
- }
}
/**
@@ -6080,10 +6073,6 @@ function createNativeStreamReadable(nativeType, Readable) {
}
}
- _construct(cb) {
- this._readableState.constructed = true;
- cb();
- }
_destroy(error, callback) {
var ptr = this.#ptr;
if (ptr === 0) {