Actually signal finish when finished.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 00:50:56 +0000 (01:50 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 00:50:56 +0000 (01:50 +0100)
src/main/java/net/pterodactylus/sonitus/data/Connection.java

index aa28710..122025f 100644 (file)
@@ -58,6 +58,11 @@ public abstract class Connection implements Runnable {
                                break;
                        }
                }
+               try {
+                       finish();
+               } catch (IOException ioe1) {
+                       /* well, what can we do? nothing. */
+               }
        }
 
        //