]> source.dussan.org Git - vaadin-framework.git/commit
fix: Prevent deadlock in findOrCreateVaadinSession (#12355)
authorTatu Lund <tatu@vaadin.com>
Mon, 9 Aug 2021 10:36:39 +0000 (13:36 +0300)
committerGitHub <noreply@github.com>
Mon, 9 Aug 2021 10:36:39 +0000 (13:36 +0300)
commitd5067d6bbd622316e2a398311e94b40e5e89a913
tree0d78c8a568b53944ba8f42455df6431b14a3ae43
parentb379bb84280a34b6e1236e5d61a013a1e939a92e
fix: Prevent deadlock in findOrCreateVaadinSession (#12355)

It is possible findOrCreateVaadinSession leaves session locked if HTTP session is invalidated in an another thread between lockSession and unlockSession calls. This PR changes the implementation so that this can no longer happen.

fixes: #12352
server/src/main/java/com/vaadin/server/VaadinService.java