You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My service uses Contexts.context() as a way to get hold of the serverRequest.context() in code that doesn't have access to the serverRequest. This mostly works except for service code that runs inside serverResponse.whenSent().thenRun(....)
That code gets an isEmpty return from Contexts.context(). I suspect this shouldn't be since the service code hasn't completed.
Steps to reproduce
In any service, try to execute code inside whenSent().thenRun that needs access to the request context.
The text was updated successfully, but these errors were encountered:
Environment Details
Problem Description
My service uses
Contexts.context()
as a way to get hold of the serverRequest.context() in code that doesn't have access to the serverRequest. This mostly works except for service code that runs insideserverResponse.whenSent().thenRun(....)
That code gets an isEmpty return from
Contexts.context()
. I suspect this shouldn't be since the service code hasn't completed.Steps to reproduce
In any service, try to execute code inside whenSent().thenRun that needs access to the request context.
The text was updated successfully, but these errors were encountered: