diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-08-27 20:05:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 03:05:32 +0000 |
commit | 511d13abaf5cc98cc01250f7adc5edf15dc29276 (patch) | |
tree | 6cd171394f451fb3d7e619bc00d2be9d37c0bad5 /cli/lsp/testing/server.rs | |
parent | 3dba98532a3054e4e74bb1b3304e4cb809d284dc (diff) |
fix(ext/node): emit `online` event after worker thread is initialized (#25243)
Fixes #23281. Part of #20613.
We were emitting the `online` event in the constructor, so the caller
could never receive it (since there was no time for them to add a
listener). Instead, emit the event where it's intended – after the
worker is initialized.
---
After this parcel no longer freezes, but still will fail due to other
bugs (which will be fixed in other PRs)
Diffstat (limited to 'cli/lsp/testing/server.rs')
0 files changed, 0 insertions, 0 deletions