summaryrefslogtreecommitdiff
path: root/src/rebar_port_compiler.erl
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2012-12-16 21:30:15 +0100
committerUlf Wiger <ulf@feuerlabs.com>2012-12-16 21:30:15 +0100
commit209ca73b91e7f787ad8c5545ad14610601a3972d (patch)
tree19c05e459ed71e36f16644c703f383f2699ffae8 /src/rebar_port_compiler.erl
parent71c717d86bd92cce0111cb7c4975039784f74a71 (diff)
rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications'
One could argue that rebar_eunit does some pretty dangerous stuff when trying to clean up after a test run, but specifically, it tells the Application Controller to delete everything returned by application:get_all_env(App). Unfortunately, included_applications also goes, which can lead to a crash in application_controller, if the application is subsequently unloaded. This patch attempts the smallest possible fix: remove all env variables except included_applications.
Diffstat (limited to 'src/rebar_port_compiler.erl')
0 files changed, 0 insertions, 0 deletions