mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-19 15:32:08 +02:00
Do not try to call obsoleted function directly
This commit is contained in:
parent
7b07c2a9b2
commit
75b8f035f7
@ -100,7 +100,7 @@ eprof_stop() ->
|
|||||||
eprof:stop_profiling(),
|
eprof:stop_profiling(),
|
||||||
case erlang:function_exported(eprof, analyse, 0) of
|
case erlang:function_exported(eprof, analyse, 0) of
|
||||||
true ->
|
true ->
|
||||||
eprof:analyse();
|
apply(eprof, analyse, []);
|
||||||
false ->
|
false ->
|
||||||
eprof:analyze()
|
eprof:analyze()
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user