Symbian: Do not resume the crashed thread

This commit is contained in:
Pawel Polanski
2011-02-07 10:12:47 +01:00
parent d15d07b7cf
commit 028776ce08

View File

@@ -259,8 +259,11 @@ void CodaRunControl::handleContextSuspended(const TcfTrkEvent &event)
switch (me.reason()) {
case TcfSuspendEvent::Crash:
appendMessage(tr("Process has crashed: %1").arg(QString::fromLatin1(me.message())), ErrorMessageFormat);
m_tcfTrkDevice->sendRunControlResumeCommand(TcfTrkCallback(), me.id()); //TODO: Should I resume automaticly
appendMessage(tr("Thread has crashed: %1").arg(QString::fromLatin1(me.message())), ErrorMessageFormat);
//If we get a crash report then we display it and stop the process.
//Now sure if this should be the final solution but it works for now.
//m_tcfTrkDevice->sendRunControlResumeCommand(TcfTrkCallback(), me.id()); //TODO: Should I resume automaticly
stop();
break;
default:
if (debug)