We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b7fb6 commit e36e9faCopy full SHA for e36e9fa
sentry_sdk/client.py
@@ -3,7 +3,6 @@
3
import uuid
4
import random
5
import socket
6
-import asyncio
7
from collections.abc import Mapping
8
from datetime import datetime, timezone
9
from importlib import import_module
@@ -924,14 +923,6 @@ def get_integration(
924
923
925
return self.integrations.get(integration_name)
926
927
- def _close_transport(self) -> Optional[asyncio.Task[None]]:
928
- """Close transport and return cleanup task if any."""
929
- if self.transport is not None:
930
- cleanup_task = self.transport.kill() # type: ignore
931
- self.transport = None
932
- return cleanup_task
933
- return None
934
-
935
def _close_components(self) -> None:
936
"""Kill all client components in the correct order."""
937
self.session_flusher.kill()
0 commit comments