aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-03-23 16:07:03 +0100
committerSiri Hansen <[email protected]>2011-05-12 16:21:07 +0200
commit99033bc070be6325ccbbb0a3e7e69396c8a30ec9 (patch)
treeaa517ec0cfa8a3358178f293cd7ed6eada782b6c /lib/stdlib/test
parentb1e768e86593178810c8a0b3c38443dcf6be5181 (diff)
downloadotp-99033bc070be6325ccbbb0a3e7e69396c8a30ec9.tar.gz
otp-99033bc070be6325ccbbb0a3e7e69396c8a30ec9.tar.bz2
otp-99033bc070be6325ccbbb0a3e7e69396c8a30ec9.zip
Never fail when stopping rb, and fix file descriptor leak
rb:stop did sometimes return {error,running}. This came from supervisor:delete_child and happened when the rb_server has not yet terminated when this function was called. Instead of having a separate gen_server call to rb_server for stopping the process, supervisor:terminate_child is now called. This is a synchronous function - i.e. it waits for the process to actually terminate before it returns. A file descriptor leak in rb:scan_files is corrected. The index file was never closed after reading.
Diffstat (limited to 'lib/stdlib/test')
0 files changed, 0 insertions, 0 deletions