Skip to content

Commit e36e9fa

Browse files
committed
ref(client): Remove unused function
GH-4601
1 parent 54b7fb6 commit e36e9fa

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

sentry_sdk/client.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import uuid
44
import random
55
import socket
6-
import asyncio
76
from collections.abc import Mapping
87
from datetime import datetime, timezone
98
from importlib import import_module
@@ -924,14 +923,6 @@ def get_integration(
924923

925924
return self.integrations.get(integration_name)
926925

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-
935926
def _close_components(self) -> None:
936927
"""Kill all client components in the correct order."""
937928
self.session_flusher.kill()

0 commit comments

Comments
 (0)