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:
Christian Prochaska 2012-02-14 12:35:20 +01:00 committed by Norman Feske
parent e6f6defaca
commit 4b1f182e61
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}