mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 05:30:08 +01: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
This commit is contained in:
parent
2e974baa15
commit
21cfeff777
1 changed files with 2 additions and 0 deletions
|
|
@ -7563,6 +7563,8 @@ editor_menu_main (NmCli *nmc, NMConnection *connection, const char *connection_t
|
|||
g_free (menu_ctx.valid_props_str);
|
||||
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