devtools
6af5dded - Protect service restoration against SentinelException (#6451)

Commit
1 year ago
Protect service restoration against SentinelException (#6451) ![](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExcGp4enR5aDdodmY5cnllN2U1bWN1bnFpM3ZqZGo3cHN4YjBmMnB5NiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3ofSBwHeQWYpdpxtPa/giphy.gif) Fixes https://github.com/flutter/devtools/issues/6449 When spamming hot restart these service refreshes commonly throw SentinelExceptions. Meaning they stopped existing while being called. This PR handles those expections with a do nothing, since we will need to recall these for the next service to start anyways
Author
Parents
  • packages
    • devtools_app/release_notes
      • File
        NEXT_RELEASE_NOTES.md
    • devtools_app_shared/lib/src/service
      • File
        service_extension_manager.dart