We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5752963 commit 0792ce7Copy full SHA for 0792ce7
2 files changed
.github/workflows/test.yml
@@ -35,7 +35,8 @@ jobs:
35
mypy linux_edr/
36
- name: Test with pytest
37
run: |
38
- uv run pytest --cov=linux_edr --cov-report=xml --timeout=60 --color=no
+ uv run pytest --cov=linux_edr
39
+ uv run python -m coverage xml
40
- name: Upload coverage to Codecov
41
uses: codecov/codecov-action@v3
42
with:
linux_edr/trace.py
@@ -207,4 +207,8 @@ def close(self) -> None:
207
208
def __del__(self) -> None:
209
"""Ensure resources are freed when object is garbage collected."""
210
- self.close()
+ try:
211
+ self.close()
212
+ except Exception:
213
+ # Suppress any exceptions during garbage collection
214
+ pass
0 commit comments