mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01: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(),
|
||||
case erlang:function_exported(eprof, analyse, 0) of
|
||||
true ->
|
||||
eprof:analyse();
|
||||
apply(eprof, analyse, []);
|
||||
false ->
|
||||
eprof:analyze()
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user