Skip to content

Commit

Permalink
Merge pull request softhsm#503 from ansasaki/mark_deinitialized
Browse files Browse the repository at this point in the history
Mark as not initialized in destructor
  • Loading branch information
halderen authored Feb 26, 2020
2 parents 80b96a9 + f536e8b commit b64fe22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/SoftHSM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ SoftHSM::~SoftHSM()
mechanisms_table.clear();
supportedMechanisms.clear();

isInitialised = false;

resetMutexFactoryCallbacks();
}

Expand Down

0 comments on commit b64fe22

Please sign in to comment.