Skip to content

Commit

Permalink
Bump to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fluorumlabs committed May 29, 2020
1 parent d937305 commit 19f54b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.vaadin.helper</groupId>
<artifactId>async-manager</artifactId>
<version>1.1.0-alpha1</version>
<version>1.1.0</version>
<name>Async Manager</name>
<description>Async Manager for Vaadin Flow</description>

Expand Down Expand Up @@ -110,7 +110,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<version>3.3.0</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/vaadin/flow/helper/AsyncManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ void registerTask(Component component, Task task, Action action) {
@SuppressWarnings("unchecked")
private Set<AsyncTask> getAsyncTasks(UI ui) {
synchronized (ui) {
Set<AsyncTask> asyncTasks = (Set<AsyncTask>) ComponentUtil.getData(ui, ASYNC_TASKS_KEY);
Set<AsyncTask> asyncTasks = (Set<AsyncTask>) ComponentUtil.getData(ui, getClass().getName());
if (asyncTasks == null) {
asyncTasks = Collections.synchronizedSet(new HashSet<>());
ComponentUtil.setData(ui, ASYNC_TASKS_KEY, asyncTasks);
ComponentUtil.setData(ui, getClass().getName(), asyncTasks);
}

return asyncTasks;
Expand Down

0 comments on commit 19f54b9

Please sign in to comment.