Clean up FIFO threads on 2D cards on exit/reset. Patch from bit.
This commit is contained in:
parent
345f83cb2a
commit
c466cfa24b
5 changed files with 20 additions and 0 deletions
|
|
@ -2635,6 +2635,10 @@ void mach64_close(void *p)
|
|||
|
||||
svga_close(&mach64->svga);
|
||||
|
||||
thread_kill(mach64->fifo_thread);
|
||||
thread_destroy_event(mach64->wake_fifo_thread);
|
||||
thread_destroy_event(mach64->fifo_not_full_event);
|
||||
|
||||
free(mach64);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue