mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
base: avoid detaching not attached trace_control
This commit is contained in:
parent
6de46dfd2e
commit
f9fbe34644
@ -214,5 +214,6 @@ Thread_base::~Thread_base()
|
||||
* from here and any following RPC call will stumple upon the
|
||||
* detached trace control dataspace.
|
||||
*/
|
||||
env()->rm_session()->detach(_trace_control);
|
||||
if (_trace_control)
|
||||
env()->rm_session()->detach(_trace_control);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user