* /src/ejabberd_debug.erl: Catch profiler stop errors.

SVN Revision: 2058
This commit is contained in:
Mickaël Rémond 2009-05-06 20:05:13 +00:00
parent 6d4161334d
commit 79f9911c33
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ eprof_start() ->
eprof:profile(pids()).
eprof_stop() ->
eprof:stop().
catch eprof:stop(),
ok.
pids() ->
lists:zf(