3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-03-04 23:50:40 +01:00
James Prestwood 7b98a6ed9c test-runner: only remove GLib timeout if it exists
There was a race condition here where the GLib timeout could have
fired but the test function returned successfully prior to the
end of the while loop. This would end up causing source_remove to
print a warning that the source did not exist.

Instead check if the timeout fired prior to removing it.
2021-08-13 20:39:13 -05:00
..
2021-04-05 17:47:42 -05:00