Skip to content

Commit

Permalink
PISTON-859: always update acdc_queue_listener my_q (2600hz#5918)
Browse files Browse the repository at this point in the history
Handles channel being lost - new queue may be provided to gen_listener
  • Loading branch information
danielfinke authored and jamesaimonetti committed Jul 18, 2019
1 parent e32b924 commit a6db64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/acdc/src/acdc_queue_listener.erl
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ handle_cast({'get_friends', WorkerSup}, State) ->
{'noreply', State#state{fsm_pid=FSMPid
,shared_pid=SharedPid
}};
handle_cast({'gen_listener', {'created_queue', Q}}, #state{my_q='undefined'}=State) ->
handle_cast({'gen_listener', {'created_queue', Q}}, State) ->
{'noreply', State#state{my_q=Q}, 'hibernate'};

handle_cast({'member_connect_req', MemberCallJObj, Delivery, _Url}
Expand Down

0 comments on commit a6db64d

Please sign in to comment.