Skip to content

Commit

Permalink
Ensure that CDI request scope is active in TemplateResponseUniHandler
Browse files Browse the repository at this point in the history
This does not completely solve quarkusio#27229, but it is a step in the right
direction.
  • Loading branch information
geoand committed Aug 25, 2022
1 parent 815c466 commit edfd611
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public void handle(ResteasyReactiveRequestContext requestContext) {
return;
}

requestContext.requireCDIRequestScope();

if (engine == null) {
synchronized (this) {
if (engine == null) {
Expand Down

0 comments on commit edfd611

Please sign in to comment.