aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-01-21 13:58:21 -0800
committerScott Jackson <daneren2005@gmail.com>2015-01-21 13:58:21 -0800
commitfb28c08c158a2fe40d1f1b65e031d8142afebfa4 (patch)
tree13682a549dfe2703c2791fe543ef19937497cfbf /src/github
parent1a1ea416f66dadb146d93b230ab6234003ed5ee8 (diff)
downloaddsub-fb28c08c158a2fe40d1f1b65e031d8142afebfa4.tar.gz
dsub-fb28c08c158a2fe40d1f1b65e031d8142afebfa4.tar.bz2
dsub-fb28c08c158a2fe40d1f1b65e031d8142afebfa4.zip
Stop the proxy when shutting down
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/DLNAController.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DLNAController.java b/src/github/daneren2005/dsub/service/DLNAController.java
index 6a288e8a..207f6f21 100644
--- a/src/github/daneren2005/dsub/service/DLNAController.java
+++ b/src/github/daneren2005/dsub/service/DLNAController.java
@@ -239,6 +239,11 @@ public class DLNAController extends RemoteController {
callback = null;
}
+ if(proxy != null) {
+ proxy.stop();
+ proxy = null;
+ }
+
running = false;
}