mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-10 23:13:01 +00:00
f95bfddc09
This patch decouples the error handling of the quota transfers and the actual session creation. In the previous version, an error in the 'initiate_request' phase would leave the local scope via an exception without disarming the transfer guard objects. This way, the guard destructors would attempt the returning of session quota in addition to the explicit call of '_revert_quota_and_destroy' as done in the error handling of the 'initiate_request' operation. In the presence of a session-creation error in the 'initiate_request' phase, session quota would eventually be returned twice. This patch removes the intertwined error handling of both phases in a way that the guards of the first phase (quota transfer) are no longer present in the second phase (initiate_request). |
||
---|---|---|
.. | ||
base | ||
cxx | ||
ldso | ||
startup | ||
target.mk |