dispatcher: add comment about exit-on-idle race

This commit is contained in:
Thomas Haller 2021-08-02 22:54:35 +02:00
parent dbd459ec92
commit 82174a66c6
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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).
*