diff --git a/100_core/src/gplx/core/ios/IoEngine_system.java b/100_core/src/gplx/core/ios/IoEngine_system.java index 54894dd27..4a95747ef 100644 --- a/100_core/src/gplx/core/ios/IoEngine_system.java +++ b/100_core/src/gplx/core/ios/IoEngine_system.java @@ -544,8 +544,10 @@ public class IoEngine_system extends IoEngine_base { xrg.Prog_running_(false); try { if (src_stream != null) src_stream.close(); - if (src_conn != null) src_conn.disconnect(); - src_conn.getInputStream().close(); + if (src_conn != null) { + src_conn.disconnect(); + src_conn.getInputStream().close(); + } } catch (Exception exc) { Err_.Noop(exc); }