diff options
| author | JosJuice <josjuice@gmail.com> | 2026-07-12 10:05:14 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2026-07-12 10:20:58 +0200 |
| commit | 05855a37f4d6b9e98e41e7c50983faa167ae03ac (patch) | |
| tree | 7993058da57bcbfe955a9457d51d9be3a1853b7b /Source/Core/DiscIO/CompressedBlob.cpp | |
| parent | 6de526c684ee6dd8b6fc3447dae858ae480ccbb5 (diff) | |
GCAdapter: Deregister callback when scan thread exits
We were registering the hotplug callback when starting the thread, but
deregistering it when shutting down GCAdapter as a whole. Because the
thread can start and stop potentially many times before GCAdapter shuts
down, this led to callbacks being registered when we already have
callbacks. On Android, this was making Dolphin's Kotlin code for
registering the callback throw an IllegalStateException.
To fix this, deregister the callback when stopping the thread.
Diffstat (limited to 'Source/Core/DiscIO/CompressedBlob.cpp')
0 files changed, 0 insertions, 0 deletions
