aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-05-17 13:06:36 +0200
committerBjörn Gustavsson <[email protected]>2017-05-17 13:16:11 +0200
commit652486205f6bfd32721f618c1191422182e77553 (patch)
tree110144e513d5dbfc385742d9c03cbf59ebf7a306 /system/doc
parent890bc8dddd62b5e14fd9bd38ea3317e47cc0b716 (diff)
downloadotp-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 'system/doc')
0 files changed, 0 insertions, 0 deletions