Browse Source

device: incorrect channel null check

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
f31bdf1012
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/device.vala

+ 1
- 1
src/device.vala View File

@ -137,7 +137,7 @@ class Device : Object {
} }
public void deactivate() { public void deactivate() {
if (_channel == null)
if (_channel != null)
_channel.close.begin(); _channel.close.begin();
_channel = null; _channel = null;
} }


Loading…
Cancel
Save