summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gatosocket.cpp1
-rw-r--r--rpm/libgato.spec2
-rw-r--r--rpm/libgato.yaml2
3 files changed, 3 insertions, 2 deletions
diff --git a/gatosocket.cpp b/gatosocket.cpp
index 19f11ff..da3721d 100644
--- a/gatosocket.cpp
+++ b/gatosocket.cpp
@@ -128,6 +128,7 @@ void GatoSocket::close()
delete writeNotifier;
readQueue.clear();
writeQueue.clear();
+ ::close(fd);
fd = -1;
s = StateDisconnected;
emit disconnected();
diff --git a/rpm/libgato.spec b/rpm/libgato.spec
index 669579b..5b8584f 100644
--- a/rpm/libgato.spec
+++ b/rpm/libgato.spec
@@ -13,7 +13,7 @@ Name: libgato
%{!?qtc_make:%define qtc_make make}
%{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: A GATT library to connect with Bluetooth Smart devices
-Version: 0.1.6
+Version: 0.1.7
Release: 1
Group: Qt/Qt
License: GPL2
diff --git a/rpm/libgato.yaml b/rpm/libgato.yaml
index 3b13a5c..3d1c092 100644
--- a/rpm/libgato.yaml
+++ b/rpm/libgato.yaml
@@ -1,6 +1,6 @@
Name: libgato
Summary: A GATT library to connect with Bluetooth Smart devices
-Version: 0.1.6
+Version: 0.1.7
Release: 1
Group: Qt/Qt
URL: https://gitorious.org/gato/