mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-22 04:52:56 +01:00
committed by
Christian Helmuth
parent
46fc41ba50
commit
66fedecf34
@@ -452,10 +452,12 @@ class Lima::Call
|
||||
Buffer_id const id { .value = handle };
|
||||
|
||||
bool found = false;
|
||||
_buffer_space.apply<Buffer>(id, [&] (Buffer &b) {
|
||||
fn(b);
|
||||
found = true;
|
||||
});
|
||||
try {
|
||||
_buffer_space.apply<Buffer>(id, [&] (Buffer &b) {
|
||||
fn(b);
|
||||
found = true;
|
||||
});
|
||||
} catch (Genode::Id_space<Buffer>::Unknown_id) { }
|
||||
|
||||
return found;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user