don't clear challengeCallbacks

This commit is contained in:
Wildan M 2021-09-21 06:34:54 +07:00
commit 2a3b44a1a1
2 changed files with 4 additions and 1 deletions

View file

@ -445,7 +445,8 @@ class Client {
return challenge.token + '.' + this.thumbprint;
hasResolved = true;
clearTimeout(time);
this.challengeCallbacks = null;
// wanted to clear callbacks here but LE does the call multiple times.
// remember we're in mutex lock so no worries for racing.
return challenge.token + '.' + this.thumbprint;
}
});