Of course we lose some checks, but we can survive without them... However probably you can use:
Utils::WaitUntil(check_function, true, 1); instead...
53 - timeout.removed.connect([&] (unsigned int id) { clock_gettime(CLOCK_MONOTONIC, &post); });
Replace it with timeout.removed.connect([&] (unsigned int id) { removed_called = true; });});
And check for removed_called value at the end...
« Back to merge proposal
Of course we lose some checks, but we can survive without them... However probably you can use:
Utils:: WaitUntil( check_function, true, 1); instead...
53 - timeout. removed. connect( [&] (unsigned int id) { clock_gettime( CLOCK_MONOTONIC , &post); });
Replace it with removed. connect( [&] (unsigned int id) { removed_called = true; });});
timeout.
And check for removed_called value at the end...