1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

AK: Let's call decrementing reference counts "unref" instead of "deref"

It always bothered me that we're using the overloaded "dereference"
term for this. Let's call it "unreference" instead. :^)
This commit is contained in:
Andreas Kling 2020-01-23 15:14:21 +01:00
parent 4aa1b5b40e
commit 3de5439579
12 changed files with 24 additions and 24 deletions

View file

@ -81,11 +81,11 @@ private:
if (m_on_complete) {
CEventLoop::main().post_event(*this, make<CDeferredInvocationEvent>([this](CObject&) {
m_on_complete(m_result.release_value());
this->deref();
this->unref();
}));
CEventLoop::main().wake();
} else
this->deref();
this->unref();
});
}