Fix(booking-job): Ensure all refresh cancelled
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good
This commit is contained in:
@@ -342,6 +342,7 @@ func chooseAndMakePayment(timerCtx context.Context, creditCardType, creditCard,
|
||||
select {
|
||||
case <-timerCtx.Done():
|
||||
browser.MustClose()
|
||||
cancelRefresh()
|
||||
return false
|
||||
default:
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user