commit | e9198787d27adaaf7face859a4d3d578f8b7d13a | [log] [tgz] |
---|---|---|
author | Dmitry Kotov <dkotov@pigweed.infra.roller.google.com> | Wed Aug 17 19:40:55 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 17 19:40:55 2022 +0000 |
tree | 129baf5a7178032c21bf5b2315598a8270860703 | |
parent | fb33bd6fb147f469c2af874b58c39ad87bfa9f84 [diff] |
[roll pigweed] pw_transfer: Set event loop unconditionally Do not rely on automatic event loop registration on the main thread and set event loop even if the current thread is the main thread. If the pw_transfer.Manager is created after an event loop attached to the main thread is closed, the new event loop is not automatailly registered for the main thread, which leads to the "RuntimeError: There is no current event loop" exception in the pw_transfer.Manager constructor on the main thread. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/106831 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: 73eeb7710e9ecfd..9d2f49b4599a019 Roller-URL: https://ci.chromium.org/b/8805555961839729537 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I52ea46911864866035b98590bbd3eb65a0cc7682 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107097 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>