Skip to content

Commit a04783e

Browse files
committed
chore: more cleanup.
1 parent 8479649 commit a04783e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/functions_framework/execution_id.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,13 @@ def wrapper(*args, **kwargs):
159159

160160
with stderr_redirect, stdout_redirect:
161161
result = view_function(*args, **kwargs)
162-
# Context cleanup happens automatically via Flask's request context
163162
return result
164163

165164
return wrapper
166165

167166
return decorator
168167

169168

170-
# Async version of set_execution_context for ASGI/Starlette
171169
def set_execution_context_async(enable_id_logging=False):
172170
if enable_id_logging:
173171
stdout_redirect = contextlib.redirect_stdout(

0 commit comments

Comments
 (0)