Browse Source

device: do not access core instance when not needed

bboozzoo/tls-support
Maciek Borzecki 7 years ago
parent
commit
276c7d3ffe
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/mconnect/device.vala

+ 0
- 1
src/mconnect/device.vala View File

@ -288,7 +288,6 @@ class Device : Object {
debug("device %s already active", this.to_string()); debug("device %s already active", this.to_string());
} }
var core = Core.instance();
_channel = new DeviceChannel(this.host, this.tcp_port); _channel = new DeviceChannel(this.host, this.tcp_port);
_channel.disconnected.connect((c) => { _channel.disconnected.connect((c) => {
this.handle_disconnect(); this.handle_disconnect();


Loading…
Cancel
Save