)]}'
{
  "commit": "05e6268b9cf2cff4ace6e1c0abeafaf5a4fa8ac3",
  "tree": "86993fd0f6c45d9f58684abdac8f2797788ac8b9",
  "parents": [
    "d57ef15c761d748f3a6f87457319b03da094925a"
  ],
  "author": {
    "name": "Jocelyn Dang",
    "email": "jocelyndang@fuchsia.infra.roller.google.com",
    "time": "Tue Jun 06 01:45:22 2023 +0000"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Jun 05 18:46:17 2023 -0700"
  },
  "message": "[roll] Roll fuchsia [driver_runtime] Fix reset flakes.\n\nOccasionally we would get flakes where Dispatcher::Reset() would fail\ndue to the drivers_ map not being empty. This is as it\u0027s legal to\ncall Dispatcher::Destroy() from the dispatcher shutdown callback,\nand in that case we did not remove the Driver from the drivers_ map\nuntil the runtime function (NotifyShutdown) handling the callback had\nreturned.\n\nInstead the Driver object is now a RefPtr, which allows us to remove\nit from the drivers_ map immediately once all dispatchers are destroyed.\nThe NotifyShutdown function also holds their only copy of the RefPtr.\n\nThis means when notifying for all driver destroyed, we need to track and\nensure all such NotifyShutdown functions have returned.\n\nWe also track how many threads are currently calling dispatcher shutdown\nobserver handlers for each driver, so we can ensure we only call the\ndriver shutdown observer once all these handlers have returned.\nThis should fix the ConcurrentDispatcherDestroy test.\n\nMultiply: fuchsia-pkg://fuchsia.com/driver_runtime_tests#meta/driver_runtime_tests.cm : 50\n\nOriginal-Bug: 127698, 120214\n\nOriginal-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/865485\nOriginal-Revision: 2f58de1c23f79339f1085b11e0205db41beeebae\nGitOrigin-RevId: 37999c406b0be8e16e53146ea6c4dbbcf2e834aa\nChange-Id: Iab44544bac139455cc1b85c47791b4259a6ed5fd\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "293ec31b14a3813f855878f55d539a72a69eae9a",
      "old_mode": 33188,
      "old_path": "stem",
      "new_id": "f4cf0e3048062f733037a409a55092d2ea3ea81a",
      "new_mode": 33188,
      "new_path": "stem"
    }
  ]
}
