steamutils 1.2.23 → 1.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SteamClient.js +3 -2
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -413,9 +413,11 @@ function SteamClient({
|
|
413
413
|
await sleep(60000)
|
414
414
|
const isSuccess = await relogin(50)
|
415
415
|
if (!isSuccess) {
|
416
|
+
offAllEvent()
|
416
417
|
doClearIntervals()
|
417
418
|
}
|
418
419
|
} else {
|
420
|
+
offAllEvent()
|
419
421
|
doClearIntervals()
|
420
422
|
}
|
421
423
|
})
|
@@ -1117,8 +1119,7 @@ function SteamClient({
|
|
1117
1119
|
|
1118
1120
|
async function logOff() {
|
1119
1121
|
isLogOff = true
|
1120
|
-
|
1121
|
-
doClearIntervals()
|
1122
|
+
|
1122
1123
|
steamClient.logOff()
|
1123
1124
|
}
|
1124
1125
|
|