fix DelayCall instantly failing, and running the callback.

timer_ptr would go out of scope, and lambda would instantly run, with an ec=error. (because the error handling logic would not return, the callback would still be run.

PiperOrigin-RevId: 763859528
Change-Id: Ic65d5d49f75b1bb29d8858019b32a50dcd716412
3 files changed