Loïc Hoguin 13 лет назад
Родитель
Сommit
ce7084aa07
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/cowboy_app.erl

+ 1 - 1
src/cowboy_app.erl

@@ -46,7 +46,7 @@ profile_output() ->
 consider_profiling() ->
 	case application:get_env(profile) of
 		{ok, true} ->
-			eprof:start(),
+			{ok, _Pid} = eprof:start(),
 			eprof:start_profiling([self()]);
 		_ ->
 			not_profiling