mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +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