Skip to content

Commit

Permalink
chore(singleton): shutdown on reset (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassiebp authored Dec 22, 2024
1 parent 269fde6 commit eefa3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langfuse/utils/langfuse_singleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ def get(
def reset(self) -> None:
with self._lock:
if self._langfuse:
self._langfuse.flush()
self._langfuse.shutdown()

self._langfuse = None

0 comments on commit eefa3cb

Please sign in to comment.