From 0627075dd69cb22a1f74e4eb698afc0b5abf784d Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Tue, 23 Aug 2011 17:32:07 -0500 Subject: Add comments on pids not to kill --- src/rebar_eunit.erl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.1