ci(amd64/clang/lsan): fix leak sanitizer errors #57
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -92,6 +92,7 @@ Swapchain::~Swapchain()
 | 
				
			||||||
		// m_device->destroy_image_views(m_image_views);
 | 
							// m_device->destroy_image_views(m_image_views);
 | 
				
			||||||
		std::cout << "DESTROYING SWAPCHAIN" << std::endl;
 | 
							std::cout << "DESTROYING SWAPCHAIN" << std::endl;
 | 
				
			||||||
		m_device->destroy_swapchain(m_swapchain);
 | 
							m_device->destroy_swapchain(m_swapchain);
 | 
				
			||||||
 | 
							m_device->wait_idle();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	catch (const std::exception &exp)
 | 
						catch (const std::exception &exp)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue