Destroy only when held item exists
@@ -38,8 +38,10 @@ public class NetworkMultiplexerHolder extends AbstractComponent {
@Override
public void deconstruct() {
synchronized (monitor) {
+ if (net != null) {
net.destroy();
net = null;
+ }
destroyed = true;
}
}
