[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>
1 file changed
tree: 129baf5a7178032c21bf5b2315598a8270860703
  1. .gitmodules
  2. test.sh