We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 304e395 commit e537359Copy full SHA for e537359
src/features/utils/event-buffer.js
@@ -45,7 +45,7 @@ export class EventBuffer {
45
* held is another event buffer
46
*/
47
get held () {
48
- this.#held ??= new EventBuffer(this.maxPayloadSize)
+ if (!this.#held) this.#held = new EventBuffer(this.maxPayloadSize)
49
return this.#held
50
}
51
0 commit comments