genodelabs/genode — Issue #51: Misunderstanding logic in Signal_receiver::manage
Author: idgy
Created: 2011-12-20 12:51:37+00:00
State: open

We have infinite (when error with quota updating) "while" cycle

bool try_again;
do {
try_again = false;
try {
return ...;

} catch (Signal_session::Out_of_metadata) {

/* give up if the error occurred a second time */
if (try_again)
break;

PINF("upgrade quota donation for SIGNAL session");
.....
try_again = true;
}
} while (try_again);

but comment "give up if the error occurred a second time" says about only 2 iteration