Since not all child views's have an unmap event, it is possible for it to still be mapped (default state) in the destruction handler. When the destruction handler is called, the corresponding view may have already been freed and the memory location reallocated. This adds a listener for the view unmapping and removes the mapped status. This ensures that the child view is damaged due to destruction while the view still exists and not after.master
							parent
							
								
									20c4d242f6
								
							
						
					
					
						commit
						017a7c4da1
					
				
					Loading…
					
					
				
		Reference in new issue