mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:22:43 +00:00 
			
		
		
		
	AK: Add NOTE about VERIFY in Function::clear
This commit is contained in:
		
							parent
							
								
									22d7e57955
								
							
						
					
					
						commit
						eecbcff6af
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -189,6 +189,7 @@ private: | |||
|     void clear(bool may_defer = true) | ||||
|     { | ||||
|         bool called_from_inside_function = m_call_nesting_level > 0; | ||||
|         // NOTE: This VERIFY could fail because a Function is destroyed from within itself.
 | ||||
|         VERIFY(may_defer || !called_from_inside_function); | ||||
|         if (called_from_inside_function && may_defer) { | ||||
|             m_deferred_clear = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Itamar
						Itamar