public void Dispose() { lock (this) { if (_disposed || _nativeQry == null) { return; } try { UU.ContinuousQueryClose(_nativeQry); } finally { _nativeQry.Dispose(); _disposed = true; } } }
/** <inheritdoc /> */ public void Dispose() { lock (this) { if (_disposed) { return; } Debug.Assert(_nativeQry != null); try { UU.ContinuousQueryClose(_nativeQry); } finally { _nativeQry.Dispose(); _disposed = true; } } }