public override void Dispose() { if (mLine != null) { mLine.Dispose(); mLine = null; } mDevice.Dispose(); }