mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
This commit is contained in:
@@ -48,6 +48,7 @@ struct BackPressure {
|
||||
void clear() {
|
||||
pendingRemoval = 0;
|
||||
buffer.clear();
|
||||
buffer.shrink_to_fit();
|
||||
}
|
||||
void reserve(size_t length) {
|
||||
buffer.reserve(length + pendingRemoval);
|
||||
|
||||
Reference in New Issue
Block a user