Skip to content

Commit

Permalink
join listener thread instead of spinning
Browse files Browse the repository at this point in the history
  • Loading branch information
haileys committed Dec 10, 2024
1 parent 869bbd2 commit f8bb46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_cable/subscription_adapter/solid_cable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def listen

def shutdown
self.running = false
Thread.pass while thread.alive?
thread.join
end

def add_channel(channel, on_success)
Expand Down

0 comments on commit f8bb46d

Please sign in to comment.