[network-manager-openvpn/lr/p11-forward: 2/4] 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/4] service: streamline the dispose path a bit
- Date: Mon, 20 Jun 2016 12:17:58 +0000 (UTC)
commit c3256a152c3ce8770b2d8beebe23b14ec2440f25
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]