mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-16 12:09:07 +00:00
Kernel.Event: fix style
This commit is contained in:
parent
a8a01bfaae
commit
6e3360dcc6
@ -67,9 +67,8 @@ bool EqueueInternal::ScheduleEvent(u64 id, s16 filter,
|
||||
|
||||
std::weak_ptr weak_token = m_life_token;
|
||||
|
||||
it->timer->async_wait(
|
||||
[this, event_data = event.event, callback, weak_token](const boost::system::error_code& ec) {
|
||||
|
||||
it->timer->async_wait([this, event_data = event.event, callback,
|
||||
weak_token](const boost::system::error_code& ec) {
|
||||
// If the token already expires return to avoid calling to callback with an invalid pointer.
|
||||
if (weak_token.expired()) {
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user