Fix issue where multiple requests could not be run simultaneously
This commit is contained in:
parent
f735667d42
commit
6825b135ec
1 changed files with 1 additions and 5 deletions
|
@ -213,11 +213,6 @@ public class DashboardController implements Initializable {
|
||||||
requestManager.reset();
|
requestManager.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (responseBox.getChildren().size() == 2) {
|
|
||||||
responseBox.getChildren().remove(0);
|
|
||||||
responseArea.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
String address = addressField.getText().trim();
|
String address = addressField.getText().trim();
|
||||||
|
|
||||||
|
@ -709,6 +704,7 @@ public class DashboardController implements Initializable {
|
||||||
break;
|
break;
|
||||||
case LOADING:
|
case LOADING:
|
||||||
dashboardState.handOverRequest(requestManager);
|
dashboardState.handOverRequest(requestManager);
|
||||||
|
requestManager = null;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue