mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 22:20:19 +01:00
nm-sudo: fix clearing timeout source in _idle_timeout_cb()
Fixes: f137b32d31 ('sudo: introduce nm-sudo D-Bus service')
This commit is contained in:
parent
06713e7645
commit
0aaaab07d1
1 changed files with 1 additions and 0 deletions
|
|
@ -399,6 +399,7 @@ _idle_timeout_cb(gpointer user_data)
|
|||
GlobalData *gl = user_data;
|
||||
|
||||
_LOGT("idle-timeout: expired");
|
||||
nm_clear_g_source_inst(&gl->source_idle_timeout);
|
||||
gl->is_shutting_down_timeout = TRUE;
|
||||
return G_SOURCE_CONTINUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue