diff --git a/routes/controller.go b/routes/controller.go index f91aee7..d011d06 100644 --- a/routes/controller.go +++ b/routes/controller.go @@ -200,6 +200,7 @@ func handleGetJob(c *gin.Context, req ControllerBody, workerState *worker.State) } log.Debugf("[CONTROLLER] [%s] Account '%s' %s. Switch Account.", req.Uuid, req.Username, message) workerState.ResetUsername() + accountManager.ReleaseAccount(req.Username) workerState.ResetCounter() respondWithData(c, &map[string]any{ "action": SwitchAccount.String(),