mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
winsys/radeon: Remove unnecessary pipe_thread_destroy in radeon_drm_cs_destroy
Fixes crash bug introduced with 210ddf0819 fd.o #49198
pthread_detach after a pthread_join is unneeded.
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
This commit is contained in:
parent
fc782bcbf0
commit
6bb0151f1f
1 changed files with 0 additions and 1 deletions
|
|
@ -490,7 +490,6 @@ static void radeon_drm_cs_destroy(struct radeon_winsys_cs *rcs)
|
|||
pipe_semaphore_signal(&cs->flush_queued);
|
||||
pipe_semaphore_wait(&cs->flush_completed);
|
||||
pipe_thread_wait(cs->thread);
|
||||
pipe_thread_destroy(cs->thread);
|
||||
}
|
||||
pipe_semaphore_destroy(&cs->flush_queued);
|
||||
pipe_semaphore_destroy(&cs->flush_completed);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue