From deeeb633cf5c6d957f29c80f5cada20b3581fefe Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Sat, 5 Dec 2015 01:41:35 -0500 Subject: [PATCH] Delete _identitySecret if we have it when we stop polling --- components/confirmations.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/confirmations.js b/components/confirmations.js index a303edc..e376a6e 100644 --- a/components/confirmations.js +++ b/components/confirmations.js @@ -189,6 +189,10 @@ SteamCommunity.prototype.stopConfirmationChecker = function() { delete this._confirmationPollInterval; } + if(this._identitySecret) { + delete this._identitySecret; + } + if(this._confirmationTimer) { clearTimeout(this._confirmationTimer); delete this._confirmationTimer;