/** * Just being careful about closing the socket. * <p> * @throws Throwable */ @Override protected void finalize() throws Throwable { super.finalize(); destroy(); }
/** * Just being careful about closing the socket. * <p> * @throws Throwable */ @Override protected void finalize() throws Throwable { super.finalize(); destroy(); }
/** * Kill off the sender and receiver. * <p> * @throws Exception on error */ @Override protected void tearDown() throws Exception { receiver.shutdown(); sender.destroy(); super.tearDown(); }
/** * Kill off the sender and receiver. * <p> * @throws Exception on error */ @Override protected void tearDown() throws Exception { receiver.shutdown(); sender.destroy(); super.tearDown(); }