tests: Release GApplication a little later to avoid assertion failures
If it takes one more GMainContext
cycle than expected for the
activate
signals to be handled, the GApplication
under test can be
released too early, and the test will fail due to not seeing a high
enough value of n_activations
.
Hopefully avoid that by moving the release to a low priority idle callback.
This fix is only hopeful because I’ve only been able to reproduce the failure on FreeBSD CI and not locally.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2835 (closed)
Closes #2835 (closed)