mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 12:20:09 +00:00
de3d7cf49f
* kernel/thread: Change owner_process to std::weak_ptr Previously this leaked almost all kernel objects. In short, Threads own Processes which own HandleTables which own maps of Objects which include Threads. Changing this to weak_ptr at least got the camera interfaces to destruct properly. Did not really check the other objects though, and I think there are probably more leaks. * hle/kernel: Lock certain objects while deserializing When deserializing other kernel objects, these objects (`MemoryRegion`s and `VMManager`s) can possibly get modified. To avoid inconsistent state caused by destructor side-effects, we may as well simply lock them until loading is fully completed. * Fix silly typo Somehow this didn't break?! |
||
---|---|---|
.. | ||
graphics | ||
ipc | ||
console.cpp | ||
console.h | ||
lle_service_modules.cpp | ||
lle_service_modules.h | ||
profiler.cpp | ||
profiler.h | ||
registers.cpp | ||
registers.h | ||
registers.ui | ||
wait_tree.cpp | ||
wait_tree.h |