Skip to content

Commit

Permalink
fix Ehcache service not shutdown properly cause JVM not able to exit #7
Browse files Browse the repository at this point in the history
  • Loading branch information
greenlaw110 committed Aug 1, 2019
1 parent 656e31e commit 34d5ef1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# OSGL Cache Change Log

1.7.1
* Ehcache service not shutdown properly cause JVM not able to exit #7

1.7.0 - 19/Apr/2019
* Update osgl-tool to 1.19.2

Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/osgl/cache/impl/EhCacheService.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public void setDefaultTTL(int ttl) {
@Override
public void shutdown() {
clear();
cacheManager.shutdown();
}

@Override
Expand Down

0 comments on commit 34d5ef1

Please sign in to comment.