diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2018-03-30 12:04:12 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2018-04-18 15:22:12 +0200 |
commit | 5f8737bdd53355609e5d35267c7800618b167606 (patch) | |
tree | 14bc5cc18b61766285f53225711af639749e7833 /src/nm-firewall-manager.c | |
parent | 8c3023d471ffa459b33aa8a8df3c279a9b7e3d84 (diff) | |
download | NetworkManager-5f8737bdd53355609e5d35267c7800618b167606.tar.gz |
shared: fix nmtst_main_loop_run()
If the main loop is quit before the timeout expires, we leave the
timeout source running on the main loop context. Since we usually
create the main loop using the default context, the source will fire
on the next main loop we create during the test.
Therefore, destroy the timeout source if it is still active.
Fixes: 766f31507b02c4721bdbabdc79755ff23652d6c6
Diffstat (limited to 'src/nm-firewall-manager.c')
0 files changed, 0 insertions, 0 deletions