)]}'
{
  "commit": "7060d28d3e2a8d625523a87d47bcba1873603c29",
  "tree": "9785d98505f3e55db4f1eff06daf342365cabf0c",
  "parents": [
    "bb4170df2e7fbff9e55745d7110b419f6f1ba4ba"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Mon Jun 08 13:01:14 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jun 08 15:48:44 2026"
  },
  "message": "Fix incorrect OwnedFactoryAndThreads teardown sequence\n\nReorder declaration of members in OwnedFactoryAndThreads so that env_\nand signaling_thread_ are destroyed last. This ensures worker and\nnetwork threads can safely run teardown tasks (such as releasing proxy\nobjects) that marshal calls to the signaling thread or use environment\nresources without accessing deleted objects.\n\nAlso, add a unit test that verifies the correct teardown order and\nprevents regression.\n\nBug: b/515407473\nChange-Id: I4f517cc99bf1d2ed05bce5f9de9a1d146fe0c154\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/479200\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nReviewed-by: Danil Chapovalov \u003cdanilchap@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#47931}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "23013ab15cb7573f1f5cf017b5df09b476775e9e",
      "old_mode": 33188,
      "old_path": "sdk/android/BUILD.gn",
      "new_id": "30517e9435ef4e29f81e445b571afa7bdde9a970",
      "new_mode": 33188,
      "new_path": "sdk/android/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "51c4fc07e3ef9b4b8b316d2e51ff7483b097b86d",
      "old_mode": 33188,
      "old_path": "sdk/android/native_unittests/peerconnection/peer_connection_factory_unittest.cc",
      "new_id": "dae64801f0742893cc408a1c31eeb0c336c52f3e",
      "new_mode": 33188,
      "new_path": "sdk/android/native_unittests/peerconnection/peer_connection_factory_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "69b81d01a680cf6cac0e6cdebb0236120162b8ca",
      "old_mode": 33188,
      "old_path": "sdk/android/src/jni/pc/owned_factory_and_threads.cc",
      "new_id": "80f5c8430e9478d13439cfffe402a2d84972ac8e",
      "new_mode": 33188,
      "new_path": "sdk/android/src/jni/pc/owned_factory_and_threads.cc"
    },
    {
      "type": "modify",
      "old_id": "1235da9c0764be0b267e15f73ac0d854e31c1116",
      "old_mode": 33188,
      "old_path": "sdk/android/src/jni/pc/owned_factory_and_threads.h",
      "new_id": "768f2e0d8af028e301570480a04ac54a4b7038a1",
      "new_mode": 33188,
      "new_path": "sdk/android/src/jni/pc/owned_factory_and_threads.h"
    }
  ]
}
