Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ScopedExecutionContext no-op if !ExecutionContext::isEnabled(). (e…
…nvoyproxy#37069) Make `ScopedExecutionContext` no-op if `!ExecutionContext::isEnabled()`. This saves a call to `ScopeTrackedObject::trackedStream()` when execution context is disabled. Commit Message: Make ScopedExecutionContext no-op if !ExecutionContext::isEnabled(). Additional Description: Risk Level: None. Testing: Existing execution_context_test.cc. Docs Changes: N/A Release Notes: N/A Platform Specific Features: [Optional Runtime guard:] [Optional Fixes #Issue] [Optional Fixes commit #PR or SHA] [Optional Deprecated:] [Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):] Signed-off-by: Bin Wu <wub@google.com>
- Loading branch information