Clean up FIFO threads on 2D cards on exit/reset. Patch from bit.

This commit is contained in:
SarahW 2017-04-12 20:46:21 +01:00
commit c466cfa24b
5 changed files with 20 additions and 0 deletions

View file

@ -1221,6 +1221,10 @@ void et4000w32p_close(void *p)
svga_close(&et4000->svga);
thread_kill(et4000->fifo_thread);
thread_destroy_event(et4000->wake_fifo_thread);
thread_destroy_event(et4000->fifo_not_full_event);
free(et4000);
}