webdev
webdev copied to clipboard
Race conditions on simultaneous hot restarts
Repro:
- Update dwds dependency in flutter tools to point dwds master
- run
flutter run -d c --web-renderer html --verbose
Then press 'r' a few times (fast). Observe warnings that expression evaluation failed while trying to pre-warm the compiler cache .
This particular failure is benign but indicates that we have a race condition between two createIsolate methods which could put the vm service into a bad state. It could be the cause of https://github.com/flutter/flutter/issues/117676.
Assigning to @jyameo to verify this is still an issue.
I was not able to reproduce this issue. Closing the issue has it appear to have been fixed.