HHH-9337 Region.destroy() attempts to remove a cache listener, but region class is not annotated with @Listener

(cherry picked from commit a1ba63cbc6)
This commit is contained in:
Paul Ferraro 2014-08-15 08:09:47 -04:00 committed by Gail Badner
parent a98ebc4ed4
commit 4506987c24
1 changed files with 1 additions and 6 deletions

View File

@ -145,12 +145,7 @@ public abstract class BaseRegion implements Region {
@Override
public void destroy() throws CacheException {
try {
cache.stop();
}
finally {
cache.removeListener( this );
}
cache.stop();
}
@Override