forked from qt-creator/qt-creator
iOS: Fix isRunning state of the app running on Simulator
Refactored IostoolHandler code and fixed isRunning(..) for Simulator Change-Id: Ib24431fc8e66f8d1be983c2e41d36df2169a9cb4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -159,13 +159,8 @@ void IosRunner::start()
|
||||
|
||||
void IosRunner::stop()
|
||||
{
|
||||
if (m_toolHandler) {
|
||||
#ifdef Q_OS_UNIX
|
||||
if (m_pid > 0)
|
||||
kill(m_pid, SIGKILL);
|
||||
#endif
|
||||
if (m_toolHandler && m_toolHandler->isRunning())
|
||||
m_toolHandler->stop();
|
||||
}
|
||||
}
|
||||
|
||||
void IosRunner::handleDidStartApp(IosToolHandler *handler, const QString &bundlePath,
|
||||
|
||||
Reference in New Issue
Block a user