1
0
Fork 0
forked from suyu/suyu

core: hle: kernel: Downgrade dangling objects warning to debug.

- It is not impossible to leak kernel objects, so this is not really any issue anymore (albeit, still interesting).
This commit is contained in:
bunnei 2022-03-11 17:25:43 -08:00
parent f7d1929816
commit 82a2463062

View file

@ -182,8 +182,8 @@ struct KernelCore::Impl {
{ {
std::lock_guard lk(registered_objects_lock); std::lock_guard lk(registered_objects_lock);
if (registered_objects.size()) { if (registered_objects.size()) {
LOG_WARNING(Kernel, "{} kernel objects were dangling on shutdown!", LOG_DEBUG(Kernel, "{} kernel objects were dangling on shutdown!",
registered_objects.size()); registered_objects.size());
registered_objects.clear(); registered_objects.clear();
} }
} }