mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-01 23:21:39 +01: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.