[network-manager-openvpn/lr/p11-forward: 2/5] service: streamline the dispose path a bit
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn/lr/p11-forward: 2/5] service: streamline the dispose path a bit
- Date: Wed, 22 Jun 2016 08:00:25 +0000 (UTC)
commit 3c02c2a54e3e68554cf85212d67df52231b7907c
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Jun 20 13:46:59 2016 +0200
service: streamline the dispose path a bit
src/nm-openvpn-service.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/nm-openvpn-service.c b/src/nm-openvpn-service.c
index 21063c5..24fa809 100644
--- a/src/nm-openvpn-service.c
+++ b/src/nm-openvpn-service.c
@@ -1913,11 +1913,7 @@ dispose (GObject *object)
NMOpenvpnPluginPrivate *priv = NM_OPENVPN_PLUGIN_GET_PRIVATE (object);
nm_clear_g_source (&priv->connect_timer);
-
- if (priv->pid) {
- pids_pending_send_sigterm (priv->pid);
- priv->pid = 0;
- }
+ real_disconnect (NM_VPN_SERVICE_PLUGIN (object), NULL);
G_OBJECT_CLASS (nm_openvpn_plugin_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]