diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-05-27 18:39:32 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-05-27 18:39:32 +0000 |
commit | eb707aa027bb2f439f250fa98fdf0ce550adb49c (patch) | |
tree | ad6b04a4717ef705f53a0589c4656ea0c16acdae /src/expr/expr_manager_template.h | |
parent | bb912d51d8e4134b7e0527aa196951801355d9c7 (diff) |
Adding NodeManager::prepareToBeDestroyed() (Fixes: #128)
Diffstat (limited to 'src/expr/expr_manager_template.h')
-rw-r--r-- | src/expr/expr_manager_template.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/expr/expr_manager_template.h b/src/expr/expr_manager_template.h index 16d1b4534..323f21469 100644 --- a/src/expr/expr_manager_template.h +++ b/src/expr/expr_manager_template.h @@ -220,6 +220,15 @@ public: /** Returns the maximum arity of the given kind. */ static unsigned maxArity(Kind kind); + + /** Signals that this expression manager will soon be destroyed. + * Turns off debugging assertions that may not hold as the system + * is being torn down. + * + * NOTE: It is *not* required to call this function before destroying + * the ExprManager. + */ + void prepareToBeDestroyed(); }; ${mkConst_instantiations} |