diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-08-09 19:17:57 +0700 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2018-09-13 15:35:44 +0200 |
commit | ed9d7282d49812d356f28fc8a9756fc752ae7702 (patch) | |
tree | 4862341cec6e47bf332842e4b7f354101bd756b8 /apps | |
parent | 4cedbb530e640b6906dcd3a6361e4c8fabc23379 (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')
-rwxr-xr-x | apps/grgsm_trx | 1 |
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): |