Skip to content

Commit

Permalink
Fix issue#3657
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaixiaoxiang committed Mar 15, 2019
1 parent 5e6cbbe commit 70750f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public Monitor getMonitor(URL url) {

final URL monitorUrl = url;
final CompletableFuture<Monitor> completableFuture = CompletableFuture.supplyAsync(() -> AbstractMonitorFactory.this.createMonitor(monitorUrl));
completableFuture.thenRunAsync(new MonitorListener(key), executor);
FUTURES.put(key, completableFuture);
completableFuture.thenRunAsync(new MonitorListener(key), executor);

return null;
} finally {
Expand Down

0 comments on commit 70750f3

Please sign in to comment.