Make sure activity is closed

If we don't call finish() before crashing the activity, then
the Activity Manager will just restart it.

Task-number: QTBUG-32079
Change-Id: I09623afe545c3f4e8b9be801ccfbe244059b270e
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2013-07-01 16:07:51 +02:00 committed by The Qt Project
parent 3594fbbce4
commit 3e8783f5bb

View File

@ -121,6 +121,7 @@ public class QtActivity extends Activity {
// TODO Auto-generated catch block
e.printStackTrace();
}
finish();
System.exit(0);
}
String[] libs = new String[libraryList.size()];