sys_interrupt: weak_ptr -> shared_ptr

This commit is contained in:
Eladash 2021-05-14 17:55:07 +03:00 committed by Ivan
parent 33580e0aa1
commit c681395fb2
6 changed files with 20 additions and 14 deletions

View file

@ -350,9 +350,9 @@ void kernel_explorer::Update()
case SYS_INTR_TAG_OBJECT:
{
auto& tag = static_cast<lv2_int_tag&>(obj);
auto handler = tag.handler.lock();
const auto handler = tag.handler.get();
if (handler && handler.get() == idm::check_unlocked<lv2_obj, lv2_int_serv>(handler->id))
if (handler && handler->exists)
{
add_leaf(node, qstr(fmt::format("Intr Tag 0x%08x, Handler: 0x%08x", id, handler->id)));
break;