Delete _identitySecret if we have it when we stop polling

This commit is contained in:
Alexander Corn 2015-12-05 01:41:35 -05:00
parent a50bd35a54
commit deeeb633cf

View File

@ -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;