Skip to content

Commit

Permalink
fix missing break in batch handling
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Dec 30, 2024
1 parent 0562a22 commit 9a766c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/common/src/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ class WsSocket {
break;
case 'batch':
m.d.forEach(this.handle);
break;
default:
// return true in a receive handler to prevent pubsub and events
if (!(this.settings.receive && this.settings.receive(m.t, m.d))) {
Expand Down

0 comments on commit 9a766c1

Please sign in to comment.