| 42 | |
| 43 | |
| 44 | void CSharedDirsApplyTask::Cancel() |
| 45 | { |
| 46 | if (IsRunning()) { |
| 47 | // wxThread::Delete on a joinable thread requests termination |
| 48 | // and waits for the worker to exit. The worker checks via |
| 49 | // TestDestroy() between directory steps and bails promptly. |
| 50 | Delete(); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | |
| 55 | wxThread::ExitCode CSharedDirsApplyTask::Entry() |
no outgoing calls
no test coverage detected