From 6825b135ec03b74508ad12e00627c2d4a7955de4 Mon Sep 17 00:00:00 2001 From: Rohit Awate Date: Sat, 11 Aug 2018 19:13:11 +0530 Subject: [PATCH] Fix issue where multiple requests could not be run simultaneously --- .../rohitawate/everest/controllers/DashboardController.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/com/rohitawate/everest/controllers/DashboardController.java b/src/main/java/com/rohitawate/everest/controllers/DashboardController.java index fb277df..da4a61e 100644 --- a/src/main/java/com/rohitawate/everest/controllers/DashboardController.java +++ b/src/main/java/com/rohitawate/everest/controllers/DashboardController.java @@ -213,11 +213,6 @@ public class DashboardController implements Initializable { requestManager.reset(); } - if (responseBox.getChildren().size() == 2) { - responseBox.getChildren().remove(0); - responseArea.clear(); - } - try { String address = addressField.getText().trim(); @@ -709,6 +704,7 @@ public class DashboardController implements Initializable { break; case LOADING: dashboardState.handOverRequest(requestManager); + requestManager = null; break; }