Skip to content
Browse files

WHISTLE-42: fix reload_resources

  • Loading branch information...
1 parent bad8126 commit 9ddf334c827508ae66b421ed4f578ece85428e54 @k-anderson k-anderson committed Feb 29, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 whistle_apps/apps/stepswitch/src/stepswitch_listener.erl
View
3 whistle_apps/apps/stepswitch/src/stepswitch_listener.erl
@@ -94,8 +94,7 @@ handle_call({lookup_number, Number}, From, State) ->
{noreply, State};
handle_call({reload_resrcs}, _, State) ->
- Resrcs = get_resrcs(),
- {reply, ok, State#state{resrcs=Resrcs}, hibernate};
+ {reply, ok, State#state{resrcs=get_resrcs()}};
handle_call({process_number, Number}, From, #state{resrcs=Resrcs}=State) ->
spawn(fun() ->

0 comments on commit 9ddf334

Please sign in to comment.
Something went wrong with that request. Please try again.