Skip to content

Commit

Permalink
add clearTimeout when checking listing failed
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed Aug 2, 2020
1 parent f21ef28 commit 65f1d39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/classes/Listings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,9 @@ export = class Listings {

this.bot.listingManager.getListings(err => {
if (err) {
clearTimeout(this.autoRelistTimeout);
clearTimeout(this.autoRelistRetryTimeout);
this.autoRelistRetry = true;
return reject(err);
}

Expand Down

0 comments on commit 65f1d39

Please sign in to comment.