(self, runFunc, stopCallback)
| 42 | self.threadPool: List[_PluginThread] = [] |
| 43 | |
| 44 | def registerThread(self, runFunc, stopCallback): |
| 45 | pluginThread: _PluginThread = _PluginThread() |
| 46 | pluginThread.registerStartFunc(runFunc) |
| 47 | pluginThread.registerStopFunc(stopCallback) |
| 48 | self.threadPool.append(pluginThread) |
| 49 | pluginThread.start() |
| 50 | |
| 51 | def stopThreadAll(self): |
| 52 | for thread in self.threadPool: |
nothing calls this directly
no test coverage detected