mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-21 16:40:23 +02:00
2026-09-21 00:39:13
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
86761a1892
commit
c9c5e5c677
13 changed files with 90 additions and 27 deletions
|
|
@ -1253,6 +1253,11 @@ void KernelCore::SuspendEmulation(bool suspended) {
|
|||
}
|
||||
|
||||
void KernelCore::ShutdownCores() {
|
||||
// Notify shutdown (pre-emptively)
|
||||
for (auto& sm : impl->server_managers) {
|
||||
sm->NotifyShutdown();
|
||||
}
|
||||
|
||||
impl->TerminateAllProcesses();
|
||||
KScopedSchedulerLock lk{*this};
|
||||
for (auto* thread : impl->shutdown_threads)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue