mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 09:28:00 +02:00
libnm/vpn-service-plugin: transition to STOPPED state from INIT too
We may want to stop the plugin before we started connecting e.g. when the plugin NeedsSecrets but we can't supply them.
This commit is contained in:
parent
7729d85c8c
commit
743d372d72
1 changed files with 1 additions and 0 deletions
|
|
@ -225,6 +225,7 @@ nm_vpn_service_plugin_disconnect (NMVpnServicePlugin *plugin, GError **err)
|
|||
break;
|
||||
case NM_VPN_SERVICE_STATE_INIT:
|
||||
ret = TRUE;
|
||||
nm_vpn_service_plugin_set_state (plugin, NM_VPN_SERVICE_STATE_STOPPED);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue