summaryrefslogtreecommitdiff
path: root/src/rebar_eunit.erl
diff options
context:
space:
mode:
authorScott Lystig Fritchie <slfritchie@snookles.com>2011-08-23 17:32:07 -0500
committerScott Lystig Fritchie <slfritchie@snookles.com>2011-08-23 17:32:07 -0500
commit0627075dd69cb22a1f74e4eb698afc0b5abf784d (patch)
treec91da28962ce49ba0cde11b4348d8205baa2567f /src/rebar_eunit.erl
parentb674ea19a417722b1d6e1ee763837aca4c82608c (diff)
Add comments on pids not to kill
Diffstat (limited to 'src/rebar_eunit.erl')
-rw-r--r--src/rebar_eunit.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index f9f5da1..99de632 100644
--- a/src/rebar_eunit.erl
+++ b/src/rebar_eunit.erl
@@ -495,6 +495,10 @@ reset_after_eunit({OldProcesses, WasAlive, OldAppEnvs, _OldACs}) ->
ok.
kill_extras(Pids) ->
+ %% Killing any of the procs below will either:
+ %% 1. Interfere with stuff that we don't want interfered with, or
+ %% 2. May/will force the 'kernel' app to shutdown, which *will*
+ %% interfere with rebar's ability To Do Useful Stuff(tm).
KeepProcs = [cover_server, eunit_server, inet_gethost_native_sup,
inet_gethost_native, timer_server],
Killed = [begin