VM Service should finish processing RPC responses from service extensions before shutting down #56831
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
P2
A bug or feature request we're likely to work on
triaged
Issue has been triaged by sub team
vm-service
The VM Service Protocol, both the specification and its implementation
It's possible for the VM to shutdown immediately after the main isolate returns from a service extension if there's no longer any events in the queue and no ports remain open. This can cause a race where the VM starts to shutdown as the service isolate is in the middle of processing the service extension response, preventing the VM service client from actually getting the service extension result.
We should investigate whether or not it's possible to prevent the service isolate from shutting down while it's in the middle of processing a response.
The text was updated successfully, but these errors were encountered: