Skip to content

Commit 19f54b9

Browse files
committed
Bump to 1.1.0
1 parent d937305 commit 19f54b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.vaadin.helper</groupId>
77
<artifactId>async-manager</artifactId>
8-
<version>1.1.0-alpha1</version>
8+
<version>1.1.0</version>
99
<name>Async Manager</name>
1010
<description>Async Manager for Vaadin Flow</description>
1111

@@ -110,7 +110,7 @@
110110
<plugin>
111111
<groupId>org.apache.maven.plugins</groupId>
112112
<artifactId>maven-assembly-plugin</artifactId>
113-
<version>2.6</version>
113+
<version>3.3.0</version>
114114
<configuration>
115115
<appendAssemblyId>false</appendAssemblyId>
116116
<descriptors>

src/main/java/org/vaadin/flow/helper/AsyncManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ void registerTask(Component component, Task task, Action action) {
230230
@SuppressWarnings("unchecked")
231231
private Set<AsyncTask> getAsyncTasks(UI ui) {
232232
synchronized (ui) {
233-
Set<AsyncTask> asyncTasks = (Set<AsyncTask>) ComponentUtil.getData(ui, ASYNC_TASKS_KEY);
233+
Set<AsyncTask> asyncTasks = (Set<AsyncTask>) ComponentUtil.getData(ui, getClass().getName());
234234
if (asyncTasks == null) {
235235
asyncTasks = Collections.synchronizedSet(new HashSet<>());
236-
ComponentUtil.setData(ui, ASYNC_TASKS_KEY, asyncTasks);
236+
ComponentUtil.setData(ui, getClass().getName(), asyncTasks);
237237
}
238238

239239
return asyncTasks;

0 commit comments

Comments
 (0)