DescriptionAvoid to run dart code during paused_on_exit
When a MessageHandler gets to the paused_on_exist state it should just handle service events.
If ports are open though, at the next message the isolate will consider itself still alive and handle any kind of request.
The MessageHandler is now checking for its paused_on_exit state and avoid to handle normal messages in that state.
Closes https://github.com/dart-lang/sdk/issues/30555
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/20066b625a723d0bca4a13afe408e9d6b1442e0e
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : Removed unused import #
Total comments: 8
Patch Set 4 : Removed unused code from test #Patch Set 5 : Better test #Patch Set 6 : Explicit handling on is_paused_at_exit #Patch Set 7 : Fixed Copyright #Patch Set 8 : Fixed concurrency problem in test #Patch Set 9 : Better documentation in the test #
Messages
Total messages: 13 (4 generated)
|