Skip to content

Commit

Permalink
dlvdebugger: call deatch on stop
Browse files Browse the repository at this point in the history
  • Loading branch information
visualfc committed Sep 20, 2020
1 parent 4c5a13d commit 281afbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions liteidex/src/plugins/dlvdebugger/dlvrpcdebugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ void DlvRpcDebugger::stop()
return;
}
m_dlvExit = true;

m_dlvClient->Detach();
m_headlessProcess->waitForFinished(500);

if (!m_headlessProcess->isStop()) {
m_headlessProcess->interrupt();
}
Expand Down

0 comments on commit 281afbc

Please sign in to comment.