Skip to content

Commit

Permalink
Refs #100425. Repo set its key manager as default, but then just closed
Browse files Browse the repository at this point in the history
the key manager without closing the default, so the default was pointing
to a closed handle.
  • Loading branch information
mmosko committed Apr 5, 2011
1 parent 49491c9 commit ca54307
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions javasrc/src/org/ccnx/ccn/impl/repo/LogStructRepoStore.java
Expand Up @@ -634,8 +634,9 @@ public void shutDown() {
// THis closes ResponsitoryStoreBase._handle
super.shutDown();

if (null != _km)
_km.close();
if (null != _km) {
KeyManager.closeDefaultKeyManager();
}

if (null != _activeWriteFile && null != _activeWriteFile.openFile) {
try {
Expand Down

0 comments on commit ca54307

Please sign in to comment.