mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:02:44 +00:00 
			
		
		
		
	Change "retain" to "ref" in various comments.
This commit is contained in:
		
							parent
							
								
									90b1354688
								
							
						
					
					
						commit
						c26e3ce86b
					
				
					 4 changed files with 6 additions and 6 deletions
				
			
		|  | @ -63,8 +63,8 @@ void MasterPTY::notify_slave_closed(Badge<SlavePTY>) | |||
| #ifdef MASTERPTY_DEBUG | ||||
|     dbgprintf("MasterPTY(%u): slave closed, my retains: %u, slave retains: %u\n", m_index, ref_count(), m_slave->ref_count()); | ||||
| #endif | ||||
|     // +1 retain for my MasterPTY::m_slave
 | ||||
|     // +1 retain for FileDescription::m_device
 | ||||
|     // +1 ref for my MasterPTY::m_slave
 | ||||
|     // +1 ref for FileDescription::m_device
 | ||||
|     if (m_slave->ref_count() == 2) | ||||
|         m_slave = nullptr; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling