mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
equeue: Fix timer cancel error code check.
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
This commit is contained in:
parent
99eaba7c96
commit
26c965cf4a
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ bool EqueueInternal::ScheduleEvent(u64 id, s16 filter,
|
||||||
it->timer->async_wait(
|
it->timer->async_wait(
|
||||||
[this, event_data = event.event, callback](const boost::system::error_code& ec) {
|
[this, event_data = event.event, callback](const boost::system::error_code& ec) {
|
||||||
if (ec) {
|
if (ec) {
|
||||||
if (ec.value() != boost::system::errc::operation_canceled) {
|
if (ec != boost::system::errc::operation_canceled) {
|
||||||
LOG_ERROR(Kernel_Event, "Timer callback error: {}", ec.message());
|
LOG_ERROR(Kernel_Event, "Timer callback error: {}", ec.message());
|
||||||
} else {
|
} else {
|
||||||
// Timer was cancelled (removed) before it triggered
|
// Timer was cancelled (removed) before it triggered
|
||||||
|
|
Loading…
Add table
Reference in a new issue