Commit 08c1369
committed
fix: use BoundEvent.put() in engine error handlers to avoid unawaited coroutine warnings
The error handlers _on_error_handler() and _send_error_execution() used
sm.send() which triggers _processing_loop() — creating an unawaited
coroutine in AsyncEngine. Since these are always called within an active
macrostep, BoundEvent.put() is sufficient to enqueue the error.execution
event on the internal queue without the redundant processing loop call.1 parent d19a0a4 commit 08c1369
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
0 commit comments