aboutsummaryrefslogtreecommitdiffstats
path: root/apps/grgsm_trx
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-08-09 19:17:57 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-08-10 16:38:59 +0700
commitbf6f6ec0defc2c82257c5305ae2b20ed5efa32f2 (patch)
tree7da15ae43cf2718c6f1a35ea165ea924a435b765 /apps/grgsm_trx
parent8e1fa8bdd759899523d2714f79bb28ef4202b659 (diff)
trx/udp_link.py: close socket in destructor
Previously it was required to call the UDPLink.shutdown() method manually in order to close a socket. Let's do it automatically using the destructor of UDPLink. Cherry-picked from: I59c3dc61ec58cd9effeb789947d28fd602ca91f4 Change-Id: Ief7aa21d1e50682a90616833b679741957193aae
Diffstat (limited to 'apps/grgsm_trx')
-rwxr-xr-xapps/grgsm_trx1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/grgsm_trx b/apps/grgsm_trx
index b925fc1..668b0be 100755
--- a/apps/grgsm_trx
+++ b/apps/grgsm_trx
@@ -83,7 +83,6 @@ class Application:
def shutdown(self):
print("[i] Shutting down...")
- self.server.shutdown()
self.radio.shutdown()
def print_copyright(self):