Skip to content

Commit

Permalink
use lockInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
tepi committed Oct 16, 2024
1 parent 9c57a6d commit 89704b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -641,12 +641,12 @@ static boolean handleRequestInternal(VaadinSession session,
return true;
}
try {
session.lock();
session.getLockInstance().lock();
VaadinService service = session.getService();
RouteUtil.checkForClientRouteCollisions(service, service
.getRouter().getRegistry().getRegisteredRoutes());
} finally {
session.unlock();
session.getLockInstance().unlock();
}

return false;
Expand Down

0 comments on commit 89704b0

Please sign in to comment.