mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Merge pull request #537 from Timidger/bugfix/remove-destroy-listener-on-multi-destroy
Remove display_destroy on multi-backend destroy
This commit is contained in:
		
						commit
						0eb6bf66f4
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -42,6 +42,7 @@ static void subbackend_state_destroy(struct subbackend_state *sub) {
 | 
			
		|||
 | 
			
		||||
static void multi_backend_destroy(struct wlr_backend *wlr_backend) {
 | 
			
		||||
	struct wlr_multi_backend *backend = (struct wlr_multi_backend *)wlr_backend;
 | 
			
		||||
	wl_list_remove(&backend->display_destroy.link);
 | 
			
		||||
	struct subbackend_state *sub, *next;
 | 
			
		||||
	wl_list_for_each_safe(sub, next, &backend->backends, link) {
 | 
			
		||||
		wlr_backend_destroy(sub->backend);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue