3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

garbage collect all api::object references when calling del_context. Request issue #679

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-07-13 22:26:21 -07:00
parent f30fb7639e
commit b080e3a216
25 changed files with 115 additions and 56 deletions

View file

@ -645,7 +645,6 @@ public:
ptr_addr_hashtable(unsigned initial_capacity = DEFAULT_HASHTABLE_INITIAL_CAPACITY):
core_hashtable<ptr_addr_hash_entry<T>, ptr_hash<T>, ptr_eq<T> >(initial_capacity) {}
// Using iterators to traverse the elements of this kind of hashtable will produce non-determinism.
iterator begin() const {
UNREACHABLE();
}
@ -653,6 +652,9 @@ public:
iterator end() const {
UNREACHABLE();
}
// NB. Using iterators to traverse the elements of this kind of hashtable will produce non-determinism.
};
/**