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 {
|
select {
|
||||||
case <-timerCtx.Done():
|
case <-timerCtx.Done():
|
||||||
browser.MustClose()
|
browser.MustClose()
|
||||||
|
cancelRefresh()
|
||||||
return false
|
return false
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user