public void Close() { if (!_isInitialized) { return; } if (_isWin) { WinInterop.tdClose(); } else { LinuxInterop.tdClose(); } _isInitialized = false; }