Implement Shutdown()
Adds a Shutdown(ctx)
method, that cancels both the taskscaler main loop and calls fleeting.Shutdown(ctx)
.
The method blocks until ctx is canceled or shutdown completes.
Related to gitlab-org/gitlab-runner#29313 (closed)
Edited by Tomasz Maczukin