set status to finish and release file if every thread is finished with it
(self)
| 197 | self.release() |
| 198 | |
| 199 | def finishIfDone(self): |
| 200 | """set status to finish and release file if every thread is finished with it""" |
| 201 | |
| 202 | if self.id in self.m.core.threadManager.processingIds(): |
| 203 | return False |
| 204 | |
| 205 | self.setStatus("finished") |
| 206 | self.release() |
| 207 | self.m.checkAllLinksFinished() |
| 208 | return True |
| 209 | |
| 210 | def checkIfProcessed(self): |
| 211 | self.m.checkAllLinksProcessed(self.id) |
no test coverage detected