mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	suppress debug warnings when concurrent dec-ref is enabled. The contract with the client is that it doesn't invoke methods on auxiliary objects after the context is deleted. The client is not required to decrement reference counts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									ff679e0fce
								
							
						
					
					
						commit
						a5ad109707
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -153,7 +153,7 @@ namespace api { | |||
|         flush_objects(); | ||||
|         for (auto& kv : m_allocated_objects) { | ||||
|             api::object* val = kv.m_value; | ||||
|             DEBUG_CODE(warning_msg("Uncollected memory: %d: %s", kv.m_key, typeid(*val).name());); | ||||
|             DEBUG_CODE(if (!m_concurrent_dec_ref) warning_msg("Uncollected memory: %d: %s", kv.m_key, typeid(*val).name());); | ||||
|             dealloc(val); | ||||
|         } | ||||
|         if (m_params.owns_manager()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue