base: avoid deadlock if invalid object is called
This avoids a deadlock if during issuing a printf the low level IPC fails. . Printf uses an address space local lock and if we are trying again to make a printf we deadlock forever ...
This commit is contained in:
parent
4e47cd2568
commit
683832f461
|
@ -447,10 +447,8 @@ namespace Genode {
|
||||||
{
|
{
|
||||||
_call();
|
_call();
|
||||||
_read_from_buf(_result);
|
_read_from_buf(_result);
|
||||||
if (_result == ERR_INVALID_OBJECT) {
|
if (_result == ERR_INVALID_OBJECT)
|
||||||
PERR("tried to call an invalid object");
|
|
||||||
throw Ipc_error();
|
throw Ipc_error();
|
||||||
}
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user