private void Close() { try { readerTask.Abort(); } catch { } readerTask = null; // try { x10interface.Close(); } catch { } }
private void _close() { lock (_accesslock) { try { twriter.Abort(); } catch { } try { treader.Abort(); } catch { } twriter = null; treader = null; // try { _x10interface.Close(); } catch { } } }