mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-02 22:38:01 +00:00
dispatcher/trivial: add FIXME comment about how to fix shutdown of NtworkManager
This commit is contained in:
parent
aafeaeab18
commit
947f979f26
|
@ -78,6 +78,14 @@ struct NMDispatcherCallId {
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/* FIXME(shutdown): on shutdown, we should not run dispatcher scripts synchronously.
|
||||
* Instead, we should of course still run them asynchronously.
|
||||
*
|
||||
* Also, we should wait for all pending requests to complete before exiting the main-loop
|
||||
* (with a watchdog). If we hit a timeout, we log a warning and quit (but leave the scripts
|
||||
* running).
|
||||
*
|
||||
* Finally, cleanup the global structures. */
|
||||
static struct {
|
||||
GDBusConnection *dbus_connection;
|
||||
GHashTable *requests;
|
||||
|
|
Loading…
Reference in a new issue