Skip to content

Commit 59fb983

Browse files
committed
Expand list of common pitfalls
1 parent b2aa5b2 commit 59fb983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/diagnostics/eventsource-collect-and-view-traces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ this isn't required. Following is an example `EventListener` implementation that
274274
```
275275

276276
> [!WARNING]
277-
> Potential Deadlocks with EventSource Callbacks
277+
> Potential Pitfalls when implementing EventSource Callbacks via EventListener include deadlocks, infinite recursions, and uninitialized types.
278278
>
279279
> When implementing EventSources, be cautious with invoking lock-acquiring APIs within EventSource callbacks. EventSource instances are initialized early in the runtime, before some core features are fully initialized. As a result, the re-entrant behavior of EventSource callbacks may cause deadlocks if the callback attempts to acquire locks already held by the thread that triggered the callback.
280280
>

0 commit comments

Comments
 (0)