From 33bdb67e91b8ad1f858895727c03480c0e10f26c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 16 Mar 2013 01:50:56 +0100 Subject: [PATCH] Actually signal finish when finished. --- src/main/java/net/pterodactylus/sonitus/data/Connection.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/net/pterodactylus/sonitus/data/Connection.java b/src/main/java/net/pterodactylus/sonitus/data/Connection.java index aa28710..122025f 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Connection.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Connection.java @@ -58,6 +58,11 @@ public abstract class Connection implements Runnable { break; } } + try { + finish(); + } catch (IOException ioe1) { + /* well, what can we do? nothing. */ + } } // -- 2.7.4