ci(amd64/clang/lsan): fix leak sanitizer errors #57
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -89,8 +89,8 @@ Swapchain::~Swapchain()
 | 
				
			||||||
	try
 | 
						try
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		m_device->wait_idle();
 | 
							m_device->wait_idle();
 | 
				
			||||||
		std::cout << "DESTROYING SWAPCHAIN" << std::endl;
 | 
							log_dbg("DESTROYING SWAPCHAIN @ {:x}", std::bit_cast<size_t>(m_swapchain));
 | 
				
			||||||
		log_dbg("DESTROY SWAPCHAIN @ {:x}", std::bit_cast<size_t>(m_swapchain));
 | 
							std::this_thread::sleep_for(std::chrono::seconds { 10 });
 | 
				
			||||||
		m_device->destroy_swapchain(m_swapchain);
 | 
							m_device->destroy_swapchain(m_swapchain);
 | 
				
			||||||
		m_device->wait_idle();
 | 
							m_device->wait_idle();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue