mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
TaskHandle::close meant run_now may panic if the task was closed. Now, tasks are only closed when all handles are dropped, causing all handles to point to running tasks (ensuring run_now won't panic).