mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
Unlock guarded lock before sending IPC error reply
Sending a reply message does not return, so the guarded lock needs to get unlocked manually. This patch fixes #117.
This commit is contained in:
parent
e6f6defaca
commit
4b1f182e61
@ -109,6 +109,7 @@ void Rpc_entrypoint::_activation_entry()
|
||||
ep->_curr_obj = ep->obj_by_id(srv.badge());
|
||||
if (!ep->_curr_obj) {
|
||||
PERR("could not look up server object, return from call");
|
||||
ep->_curr_obj_lock.unlock();
|
||||
srv << IPC_REPLY;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user