main: Improve comments on fprint manager creation

Explain why the manager creation is async better in both in the main file
and in the manager itself
This commit is contained in:
Marco Trevisan (Treviño)
2020-02-03 20:39:44 +01:00
parent 554df2a8d9
commit 52e12459df
2 changed files with 5 additions and 3 deletions

View File

@ -191,8 +191,8 @@ int main(int argc, char **argv)
g_debug("Launching FprintObject");
/* create the one instance of the Manager object to be shared between
* all fprintd users */
manager = fprint_manager_new(no_timeout);
* all fprintd users. This blocks until all the devices are enumerated */
manager = fprint_manager_new (no_timeout);
/* Obtain the well-known name after the manager has been initialized.
* Otherwise a client immediately enumerating the devices will not see