MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / stop

Method stop

src/plugins/find/maincontroller/worker/searchreplaceworker.cpp:335–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void SearchReplaceWorker::stop()
336{
337 d->isStop = true;
338 if (d->process) {
339 disconnect(d->process.get(), nullptr, this, nullptr);
340 d->process->kill();
341 d->process.reset();
342 }
343}
344
345bool SearchReplaceWorker::hasItem() const
346{

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
killMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected