From 276c7d3ffece9bfd66db6e1771d2bccc14fcc40f Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Mon, 25 Sep 2017 08:15:34 +0200 Subject: [PATCH] device: do not access core instance when not needed --- src/mconnect/device.vala | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mconnect/device.vala b/src/mconnect/device.vala index cf8f3b6..18c8760 100644 --- a/src/mconnect/device.vala +++ b/src/mconnect/device.vala @@ -288,7 +288,6 @@ class Device : Object { debug("device %s already active", this.to_string()); } - var core = Core.instance(); _channel = new DeviceChannel(this.host, this.tcp_port); _channel.disconnected.connect((c) => { this.handle_disconnect();