Skip to content

Commit

Permalink
rm dead code in GrpcServerRepositoryLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
alangenfeld committed Sep 28, 2022
1 parent 5b3d15b commit 679cf4c
Showing 1 changed file with 0 additions and 11 deletions.
Expand Up @@ -533,9 +533,6 @@ def __init__(
self._host = check.str_param(host, "host")
self._use_ssl = False

self._watch_thread_shutdown_event = None
self._watch_thread = None

self._heartbeat_shutdown_event = None
self._heartbeat_thread = None

Expand Down Expand Up @@ -662,18 +659,10 @@ def cleanup(self) -> None:
self._heartbeat_shutdown_event.set()
self._heartbeat_shutdown_event = None

if self._watch_thread_shutdown_event:
self._watch_thread_shutdown_event.set()
self._watch_thread_shutdown_event = None

if self._heartbeat_thread:
self._heartbeat_thread.join()
self._heartbeat_thread = None

if self._watch_thread:
self._watch_thread.join()
self._watch_thread = None

@property
def is_reload_supported(self) -> bool:
return True
Expand Down

0 comments on commit 679cf4c

Please sign in to comment.