mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-15 19:42:09 +02:00
Loopback terminal uses std::async to inject test data to the test terminal. There was a hazardeous condition when destructing the terminal while async batch_read() was in progress. Adding a signal and waiting for destruction solves the issue.