diff options
author | Björn Gustavsson <[email protected]> | 2017-05-17 13:06:36 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-05-17 13:16:11 +0200 |
commit | 652486205f6bfd32721f618c1191422182e77553 (patch) | |
tree | 110144e513d5dbfc385742d9c03cbf59ebf7a306 /lib/kernel/test/Makefile | |
parent | 890bc8dddd62b5e14fd9bd38ea3317e47cc0b716 (diff) | |
download | otp-652486205f6bfd32721f618c1191422182e77553.tar.gz otp-652486205f6bfd32721f618c1191422182e77553.tar.bz2 otp-652486205f6bfd32721f618c1191422182e77553.zip |
proc_lib: Don't call erlang:get_stacktrace/0 twice
proc_lib calls erlang:get_stacktrace/0 twice, which is unnecessary,
and potentially unsafe since there are calls to many functions
in between. Any of the calls could potentially cause and catch
an exception, invalidating the stacktrace.
Only call erlang:get_stacktrace/0 once, and pass the result to
the second place where it is needed.
Diffstat (limited to 'lib/kernel/test/Makefile')
0 files changed, 0 insertions, 0 deletions