[gnome-keysign: 3/65] bluetoothoffer: let the receiver close the connection



commit 121f50b36fa1b458bee7cf4845a0889304ec91ff
Author: RyuzakiKK <aasonykk gmail com>
Date:   Mon Aug 7 16:04:08 2017 +0200

    bluetoothoffer: let the receiver close the connection
    
    Only one part should close the connection instead of both offer and
    receive

 keysign/bluetoothoffer.py | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/keysign/bluetoothoffer.py b/keysign/bluetoothoffer.py
index 3f5787c..a12a2e4 100644
--- a/keysign/bluetoothoffer.py
+++ b/keysign/bluetoothoffer.py
@@ -42,8 +42,6 @@ class BluetoothOffer:
             success = False
             message = e
 
-        if client_socket:
-            client_socket.close()
         if not self.stopped:
             return success, message
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]