mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Revert "Fix crash on jack server shutdown"
This reverts commit e756467434.
The patch is incomplete and not entirely correct.
			
			
This commit is contained in:
		
							parent
							
								
									e8b83fa7c6
								
							
						
					
					
						commit
						22f708a1ec
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -475,12 +475,12 @@ void pa__done(pa_module*m) {
 | 
				
			||||||
    if (!(u = m->userdata))
 | 
					    if (!(u = m->userdata))
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (u->sink)
 | 
					 | 
				
			||||||
        pa_sink_unlink(u->sink);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    if (u->client)
 | 
					    if (u->client)
 | 
				
			||||||
        jack_client_close(u->client);
 | 
					        jack_client_close(u->client);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (u->sink)
 | 
				
			||||||
 | 
					        pa_sink_unlink(u->sink);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (u->thread) {
 | 
					    if (u->thread) {
 | 
				
			||||||
        pa_asyncmsgq_send(u->thread_mq.inq, NULL, PA_MESSAGE_SHUTDOWN, NULL, 0, NULL);
 | 
					        pa_asyncmsgq_send(u->thread_mq.inq, NULL, PA_MESSAGE_SHUTDOWN, NULL, 0, NULL);
 | 
				
			||||||
        pa_thread_free(u->thread);
 | 
					        pa_thread_free(u->thread);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue