This commit is contained in:
Sem van der Hoeven
2021-01-06 14:33:25 +01:00
parent 6266705c3e
commit fcec6e1ecd
6 changed files with 29 additions and 10 deletions

View File

@@ -171,12 +171,12 @@ public enum ApiHandler {
t.start();
//
// try {
// t.join();
// } catch (InterruptedException e) {
// e.printStackTrace();
// }
// wait for when we have a result from the api until we can continue, otherwise the route will be drawn before we get the result
try {
t.join();
} catch (InterruptedException e) {
e.printStackTrace();
}
}