Skip to content

Commit

Permalink
Merge pull request #667 from gsartori/8.1.x
Browse files Browse the repository at this point in the history
BootStrap init closure servletContext cleanup
  • Loading branch information
jdaugherty authored Feb 19, 2025
2 parents 741f121 + 7c6da9c commit 9a5de32
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import javax.servlet.ServletContext

class BootStrap {

def init = { servletContext ->
ServletContext servletContext

def init = {
}

def destroy = {
}
}
7 changes: 6 additions & 1 deletion examples/grails3-neo4j/grails-app/init/BootStrap.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import javax.servlet.ServletContext

class BootStrap {

def init = { servletContext ->
ServletContext servletContext

def init = {
}

def destroy = {
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
package example

import javax.servlet.ServletContext

class BootStrap {

def init = { servletContext ->
ServletContext servletContext

def init = {
}

def destroy = {
}
}

0 comments on commit 9a5de32

Please sign in to comment.