mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Objective-C objects cannot be captured by reference in C++ lambdas and must always be captured by value. This also takes a copy of the data returned from the Wi-Fi LAN reader, to prevent potential intermittent empty packet issues. Fixes: #1702 PiperOrigin-RevId: 533925980