Actually signal finish when finished.
[sonitus.git] / 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. */
+               }
        }
 
        //