Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
state is never modified; doesn't need to be reset
  • Loading branch information
KhafraDev committed May 10, 2024
1 parent 4f3def3 commit 67ee2d2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/web/websocket/receiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,6 @@ class ByteParser extends Writable {
}
}

this.#state = parserStates.INFO

if (this.#byteOffset <= 0) {
callback()
return false
Expand Down

0 comments on commit 67ee2d2

Please sign in to comment.