summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-08-02 22:54:35 +0200
committerThomas Haller <thaller@redhat.com>2021-08-04 09:41:09 +0200
commit82174a66c60f978dd8ae7c4c39d9100bb914befe (patch)
treebbb286bdf5f6e6cab41e67d73c1dd7ce4ec2d364
parentdbd459ec9253fe97441e7c54b136c929074c4762 (diff)
downloadNetworkManager-82174a66c60f978dd8ae7c4c39d9100bb914befe.tar.gz
dispatcher: add comment about exit-on-idle race
-rw-r--r--src/nm-dispatcher/nm-dispatcher.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-dispatcher/nm-dispatcher.c b/src/nm-dispatcher/nm-dispatcher.c
index 6751a2cb0b..b32ee886b3 100644
--- a/src/nm-dispatcher/nm-dispatcher.c
+++ b/src/nm-dispatcher/nm-dispatcher.c
@@ -1054,6 +1054,9 @@ main(int argc, char **argv)
done:
+ /* FIXME: nm-dispatcher does not exit-on-idle in a racefree manner.
+ * See https://lists.freedesktop.org/archives/dbus/2015-May/016671.html */
+
if (gl.num_requests_pending > 0) {
/* this only happens when we quit due to SIGTERM (not due to the idle timer).
*