mirror of https://github.com/buggins/dlangui.git
Travis CI: console linking fix, right way
This commit is contained in:
parent
1c561ddbd0
commit
ba26ecd980
|
@ -504,15 +504,16 @@ extern(C) int DLANGUImain(string[] args) {
|
||||||
|
|
||||||
Log.i("Entering UIAppMain: ", args);
|
Log.i("Entering UIAppMain: ", args);
|
||||||
int result = -1;
|
int result = -1;
|
||||||
try {
|
version (unittest) {
|
||||||
version (unittest) {
|
result = 0;
|
||||||
} else {
|
} else {
|
||||||
result = UIAppMain(args);
|
try {
|
||||||
Log.i("UIAppMain returned ", result);
|
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);
|
Platform.setInstance(null);
|
||||||
|
|
Loading…
Reference in New Issue