Skip to content
Browse files

call get() first from threadlocal

  • Loading branch information...
1 parent bac11ef commit 0de7c6046de0e0ce6324335a6bb001945ae22f32 @graemerocher graemerocher committed Nov 11, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 grails.org/grails-app/jobs/MailerJob.groovy
  2. +1 −1 grails.org/grails-app/jobs/TagCleanupJob.groovy
View
2 grails.org/grails-app/jobs/MailerJob.groovy
@@ -72,7 +72,7 @@ class MailerJob {
}
}
finally {
- DomainClassGrailsPlugin.PROPERTY_INSTANCE_MAP.clear()
+ DomainClassGrailsPlugin.PROPERTY_INSTANCE_MAP.get().clear()
}
}
}
View
2 grails.org/grails-app/jobs/TagCleanupJob.groovy
@@ -11,7 +11,7 @@ class TagCleanupJob {
tagService.removeEmptyTags()
}
finally {
- DomainClassGrailsPlugin.PROPERTY_INSTANCE_MAP.clear()
+ DomainClassGrailsPlugin.PROPERTY_INSTANCE_MAP.get().clear()
}
}

0 comments on commit 0de7c60

Please sign in to comment.
Something went wrong with that request. Please try again.