cancel_delayed_work_sync — cancel a delayed work and wait for it to finish
bool cancel_delayed_work_sync (
)
dwork
the delayed work cancel
This is cancel_work_sync for delayed works.
cancel_work_sync
true if dwork was pending, false otherwise.
true
false