citra/src
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
..
android android: add logging 2019-03-09 18:23:32 -06:00
audio_core General: Make use of std::nullopt where applicable 2020-10-03 17:25:54 +02:00
citra Band-aid solution for 'Disk Shader Cache' (#5188) 2020-11-06 10:07:59 -08:00
citra_qt kernel/thread: Change owner_process to std::weak_ptr (#5325) 2020-11-15 12:59:45 +01:00
common Port yuzu-emu/yuzu#4587 and yuzu-emu/yuzu#4588: Fix data races (#5545) 2020-09-19 18:42:21 +02:00
core kernel/thread: Change owner_process to std::weak_ptr (#5325) 2020-11-15 12:59:45 +01:00
dedicated_room Fix: fatal error CVT1100 when compiling manifest file (#5322) 2020-06-20 13:50:33 -05:00
input_common Keep keyboard state independent of acquired buttons (#5255) 2020-11-15 12:58:12 +01:00
network Merge branch 'master' into feature/savestates-2 2020-04-16 19:03:49 +01:00
tests Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
video_core Band-aid solution for 'Disk Shader Cache' (#5188) 2020-11-06 10:07:59 -08:00
web_service HTTP_C::Implement Context::MakeRequest (#4754) 2020-02-21 19:04:04 +01:00
.clang-format add java to .clang-format 2019-02-22 16:29:19 -06:00
CMakeLists.txt Use GitHub Actions as CI service (#5602) 2020-11-12 06:21:35 +01:00