Skip to content

Commit

Permalink
use permit_concurrent_loads just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
npezza93 committed Dec 11, 2024
1 parent 002137c commit 1da1d0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/action_cable/subscription_adapter/solid_cable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ def listen
def shutdown
self.running = false
wake_up
thread&.join

ActiveSupport::Dependencies.interlock.permit_concurrent_loads do
thread&.join
end
end

def add_channel(channel, on_success)
Expand Down

0 comments on commit 1da1d0c

Please sign in to comment.