Skip to content

Commit

Permalink
Fix platform-http reload issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Croway committed Nov 29, 2024
1 parent 2af73d0 commit 5b94b6a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public void registerHttpEndpoint(HttpEndpointModel model) {
Method m = ReflectionHelper.findMethod(SpringBootPlatformHttpConsumer.class, "service",
HttpServletRequest.class, HttpServletResponse.class);
for (RequestMappingInfo info : requestMappingInfos) {
// Needed in case of context reload
unregisterMapping(info);

registerMapping(info, model.getConsumer(), m);
}
}
Expand Down

0 comments on commit 5b94b6a

Please sign in to comment.