citra/src/citra_qt/debugger
Pengfei Zhu de3d7cf49f
kernel/thread: Change owner_process to std::weak_ptr (#5325)
* 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?!
2020-11-15 12:59:45 +01:00
..
graphics General: Remove usages of ARRAY_SIZE where applicable. (#5392) 2020-06-19 09:10:45 -05:00
ipc ipc_debugger: Fixing NULL ptr call on multiple clear 2020-02-23 03:54:29 +01:00
console.cpp Remove qt5_wrap_ui macro usage 2019-08-16 19:35:37 -06:00
console.h Logging: Add customizable logging backends and fmtlib based macros 2018-04-23 21:32:56 -06:00
lle_service_modules.cpp yuzu/debugger: Specify string conversions explicitly 2019-07-28 15:13:03 +02:00
lle_service_modules.h citra-qt: service: add convenient LLE service module configuration (#3967) 2018-08-09 21:10:11 +02:00
profiler.cpp Merge pull request #5512 from vitor-k/untangle-includes 2020-08-29 22:02:25 -05:00
profiler.h profiler: remove unnecessary includes 2020-08-17 18:31:58 -03:00
registers.cpp Use unique_ptr on all ui objects from .ui files (#5511) 2020-10-01 09:23:01 +08:00
registers.h Use unique_ptr on all ui objects from .ui files (#5511) 2020-10-01 09:23:01 +08:00
registers.ui Make letter cases consistent in menus and widgets 2015-01-01 18:52:39 +01:00
wait_tree.cpp kernel/thread: Change owner_process to std::weak_ptr (#5325) 2020-11-15 12:59:45 +01:00
wait_tree.h Kernel: replace boost::intrusive_ptr with std::shared_ptr 2019-03-24 14:32:11 -04:00