Fixed problem causing crash at destruction time
authorClark Barrett <barrett@cs.nyu.edu>
Wed, 6 Jun 2012 01:06:15 +0000 (01:06 +0000)
committerClark Barrett <barrett@cs.nyu.edu>
Wed, 6 Jun 2012 01:06:15 +0000 (01:06 +0000)
src/theory/theory_engine.cpp

index 4ed0bcb60461e04a84271495cdb0bacb106583ac..3e1dc6fe4f08e402694b173253180cf23915d613 100644 (file)
@@ -536,6 +536,7 @@ void TheoryEngine::shutdown() {
   }
 
   theory::Rewriter::shutdown();
+  d_ppCache.clear();
 }
 
 theory::Theory::PPAssertStatus TheoryEngine::solve(TNode literal, SubstitutionMap& substitutionOut) {