Travis CI: console linking fix, right way

This commit is contained in:
Denis Feklushkin 2017-10-14 18:08:38 +07:00
parent 1c561ddbd0
commit ba26ecd980
1 changed files with 9 additions and 8 deletions

View File

@ -504,15 +504,16 @@ extern(C) int DLANGUImain(string[] args) {
Log.i("Entering UIAppMain: ", args);
int result = -1;
try {
version (unittest) {
} else {
result = UIAppMain(args);
Log.i("UIAppMain returned ", result);
version (unittest) {
result = 0;
} else {
try {
result = UIAppMain(args);
Log.i("UIAppMain returned ", result);
} catch (Exception e) {
Log.e("Abnormal UIAppMain termination");
Log.e("UIAppMain exception: ", e);
}
} catch (Exception e) {
Log.e("Abnormal UIAppMain termination");
Log.e("UIAppMain exception: ", e);
}
Platform.setInstance(null);