]> source.dussan.org Git - vaadin-framework.git/commit
Use queue for resync requests. (#12043)
authorAnna Koskinen <Ansku@users.noreply.github.com>
Thu, 30 Jul 2020 10:01:44 +0000 (13:01 +0300)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 10:01:44 +0000 (13:01 +0300)
commit9d027171e6507ecab9051456037c7db013d8cb4b
tree084249990cd71ccf5f99a43338d454390257dfb6
parent17baaf01b7d5b942856f5be8ba21f3c2918b45e5
Use queue for resync requests. (#12043)

There might be pending requests in the queue when a resync request is
made (e.g. through a theme change). This can cause conflicts if the
resync request is handled immediately. Therefore the resync request
should also be added to the queue and only get resolved when
doSendInvocationsToServer() gets triggered again.

Fixes #11954
client/src/main/java/com/vaadin/client/communication/MessageSender.java