summaryrefslogtreecommitdiff
path: root/src/nm-firewall-manager.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-03-30 12:04:12 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-04-18 15:22:12 +0200
commit5f8737bdd53355609e5d35267c7800618b167606 (patch)
tree14bc5cc18b61766285f53225711af639749e7833 /src/nm-firewall-manager.c
parent8c3023d471ffa459b33aa8a8df3c279a9b7e3d84 (diff)
downloadNetworkManager-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