Permalink
Browse files

Remove debug prints from action_continue

  • Loading branch information...
1 parent 6dc36dd commit 2e37b1d9aa08f22cdffb83035f9c4ee4a8c616ea @choptastic choptastic committed Nov 27, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/actions/action_continue.erl
@@ -15,7 +15,6 @@ continue(Tag, Fun, TimeoutMS) ->
%%% - ACTIONS - %%%
render_action(Record) ->
- ?PRINT(render_action),
% Spawn a wrapped comet function.
#comet {
function=fun() -> continue_wrapper(Record) end
@@ -24,9 +23,7 @@ render_action(Record) ->
continue_wrapper(Record) ->
% Run the user's function. The results will either
% be the actual result of the function, 'timeout', or 'error'
- ?PRINT(running_function),
Result = run_continue_function(Record),
- ?PRINT({result, Result}),
% Initiate a postback on the page to gather the requests...
@@ -35,10 +32,8 @@ continue_wrapper(Record) ->
wf:flush(),
% Wait for the event/1 function below to request the results...
- ?PRINT(waiting_for_request),
receive
{get_results, Pid, Ref} ->
- ?PRINT(requested),
Pid ! {get_results_response, Record, Result, Ref}
end.

0 comments on commit 2e37b1d

Please sign in to comment.