Please add it to an issue on https://github.com/apache/grails-core/issues
On 2025/09/16 15:13:53 Gianluca Sartori wrote: > I have a case where the 'init' closure gets called twice. > > 1. get: https://github.com/gsartori/dueuno-elements/tree/feature/grails-7 > 2. Set a breakpoint in 'app-test/grails-app/init/BootStrap' at line 50 > 3. bootRun app-test (debug) > > I suspect there is something weird with the project layout but have no > idea what's going on. > > It happens only in the Dueuno Elements 'app-test' application, it does > not happen on the other applications we implemented using > "dueuno-elements" as a compiled dependency. > > I've tried to debug the Grails code with no luck, it looks like there > is something going on in the DefaultGrailsBootstrapClass.callInit() > that triggers the init twice. > > > Gianluca Sartori > -- > https://dueuno.com >
