mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-29 21:54:27 +00:00
parent
d86bf3db64
commit
e5ea660e2e
@ -42,9 +42,12 @@ Platform_thread::~Platform_thread()
|
|||||||
{
|
{
|
||||||
/* detach UTCB */
|
/* detach UTCB */
|
||||||
if (!_attaches_utcb_by_itself()) {
|
if (!_attaches_utcb_by_itself()) {
|
||||||
assert(_rm_client);
|
|
||||||
Rm_session_component * const rm = _rm_client->member_rm_session();
|
/* the RM client may be destructed before platform thread */
|
||||||
rm->detach(_virt_utcb);
|
if (_rm_client) {
|
||||||
|
Rm_session_component * const rm = _rm_client->member_rm_session();
|
||||||
|
rm->detach(_virt_utcb);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* free UTCB */
|
/* free UTCB */
|
||||||
if (_pd_id == Kernel::core_id()) {
|
if (_pd_id == Kernel::core_id()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user