| 729 | } |
| 730 | |
| 731 | PollingThread::~PollingThread() |
| 732 | { |
| 733 | if (_continue) |
| 734 | { |
| 735 | Stop(); |
| 736 | std::this_thread::sleep_for(std::chrono::milliseconds{ _sleepTimeMs }); |
| 737 | } |
| 738 | // Let poll function cleanup |
| 739 | pthread_join(_thread, nullptr); |
| 740 | } |
| 741 | |
| 742 | bool PollingThread::Start() |
| 743 | { |
nothing calls this directly
no outgoing calls
no test coverage detected