Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
removing debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Alexandru Ionescu committed Mar 17, 2011
1 parent fcb270a commit cb76c41
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/amqp_channel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -383,16 +383,8 @@ handle_info({'DOWN', _, process, DefaultConsumer, Reason},
{noreply, State#state{default_consumer = none}}.

%% @private
terminate(Reason, #state{rpc_requests = RpcQueue}) ->
case queue:is_empty(RpcQueue) of
false -> ?LOG_WARN("Channel (~p): RPC queue was not empty on "
"terminate~n", [self()]),
case Reason of
normal -> exit(rpc_queue_not_empty_on_terminate);
_ -> ok
end;
true -> ok
end.
terminate(_Reason, _State) ->
ok.

%% @private
code_change(_OldVsn, State, _Extra) ->
Expand Down

0 comments on commit cb76c41

Please sign in to comment.