EHCI: Destroy the cleanup semaphore on teardown.
Otherwise, the wait_for_thread() of the fCleanupThread will block forever, stalling the boot process. Fixes another part of #15004.
This commit is contained in:
parent
e8b2085d87
commit
9f7fb0e5c9
@ -659,6 +659,7 @@ EHCI::~EHCI()
|
||||
delete_sem(fAsyncAdvanceSem);
|
||||
delete_sem(fFinishTransfersSem);
|
||||
delete_sem(fFinishIsochronousTransfersSem);
|
||||
delete_sem(fCleanupSem);
|
||||
wait_for_thread(fFinishThread, &result);
|
||||
wait_for_thread(fCleanupThread, &result);
|
||||
wait_for_thread(fFinishIsochronousThread, &result);
|
||||
|
Loading…
Reference in New Issue
Block a user