| 142 | } |
| 143 | |
| 144 | InotifyEventLoop::~InotifyEventLoop() { |
| 145 | if (!mStarted) { |
| 146 | return; |
| 147 | } |
| 148 | |
| 149 | { |
| 150 | std::lock_guard<std::mutex> syncWithWork(mMutex); |
| 151 | pthread_cancel(mEventLoop); |
| 152 | } |
| 153 | |
| 154 | pthread_join(mEventLoop, NULL); |
| 155 | } |
nothing calls this directly
no outgoing calls
no test coverage detected