mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Add comments on pids not to kill
This commit is contained in:
parent
b674ea19a4
commit
0627075dd6
1 changed files with 4 additions and 0 deletions
|
@ -495,6 +495,10 @@ reset_after_eunit({OldProcesses, WasAlive, OldAppEnvs, _OldACs}) ->
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
kill_extras(Pids) ->
|
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,
|
KeepProcs = [cover_server, eunit_server, inet_gethost_native_sup,
|
||||||
inet_gethost_native, timer_server],
|
inet_gethost_native, timer_server],
|
||||||
Killed = [begin
|
Killed = [begin
|
||||||
|
|
Loading…
Reference in a new issue