base: destruction order of binary/linker ROMs

This patch destructs the environment sessions for the binary and the
dynamic linker along with the other environment sessions to avoid a
warning about reverting quota that occurs when attempting to close
these sessions too late.
This commit is contained in:
Norman Feske 2017-03-06 17:02:44 +01:00 committed by Christian Helmuth
parent 29c4ed45cc
commit d227db4574

View File

@ -784,6 +784,8 @@ Child::~Child()
_discard_env_session(Env::cpu());
_discard_env_session(Env::pd());
_discard_env_session(Env::log());
_discard_env_session(Env::binary());
_discard_env_session(Env::linker());
/*
* Remove dynamically created sessions from the child's ID space.