fixed closeTest()
@@ -53,6 +53,9 @@ public class VanillaNetworkContext<T extends VanillaNetworkContext<T>>
@Override
protected boolean performCloseInBackground() {
+
+ ISocketChannel socketChannel = this.socketChannel;
+ if (socketChannel != null)
socketChannel.close();
return super.performCloseInBackground();
}
