mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 03:18:06 +02:00
cli: exit from main loop after 'quit' editor command
When we stop processing the editor command loop (after a 'quit' command) we must quit the GLib main loop. https://bugzilla.redhat.com/show_bug.cgi?id=1517401 (cherry picked from commit21cfeff777) (cherry picked from commit66a728e8ac)
This commit is contained in:
parent
e2c6a0dd6a
commit
1c9c0a4368
1 changed files with 2 additions and 0 deletions
|
|
@ -7779,6 +7779,8 @@ editor_menu_main (NmCli *nmc, NMConnection *connection)
|
|||
g_object_unref (rem_con);
|
||||
g_weak_ref_clear (&weak);
|
||||
|
||||
quit ();
|
||||
|
||||
/* Save history file */
|
||||
save_history_cmds (nm_connection_get_uuid (connection));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue