Skip to content

Commit

Permalink
Fix Saturn.Queue function
Browse files Browse the repository at this point in the history
Now needs pop_opt
  • Loading branch information
Sudha247 committed Nov 29, 2023
1 parent abaa4a3 commit 7025ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/multi_channel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ let recv_poll_with_dls mchan dls =
Ws_deque.pop (Array.unsafe_get mchan.channels dls.id)
with
| Exit ->
match Foreign_queue.pop mchan.foreign_queue with
match Foreign_queue.pop_opt mchan.foreign_queue with
| None -> recv_poll_loop mchan dls 0
| Some v -> v
[@@inline]
Expand Down

0 comments on commit 7025ff9

Please sign in to comment.