aboutsummaryrefslogtreecommitdiff
path: root/featureClass
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-08 19:17:22 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-08 19:17:22 +0800
commit9d556fec867ad148bd28425155e42305f502ebdf (patch)
tree6379f751d3f240e1f04cce2122cd847e85b9170b /featureClass
parentfe52032549be10a1588af06ec433aa917aec114a (diff)
downloadSoopyV2-9d556fec867ad148bd28425155e42305f502ebdf.tar.gz
SoopyV2-9d556fec867ad148bd28425155e42305f502ebdf.tar.bz2
SoopyV2-9d556fec867ad148bd28425155e42305f502ebdf.zip
fix for some ppl
Diffstat (limited to 'featureClass')
-rw-r--r--featureClass/featureManager.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/featureClass/featureManager.js b/featureClass/featureManager.js
index ecf6575..a4cb53f 100644
--- a/featureClass/featureManager.js
+++ b/featureClass/featureManager.js
@@ -87,7 +87,7 @@ class FeatureManager {
ChatLib.chat(this.messagePrefix + "&cError: Could not connect to Soopy's server. This may cause issues with some features but will (hopefully) be back soon.")
}
- new Thread(() => {
+ new NonPooledThread(() => {
this.loadSoopy()
}).start()
}, true)
@@ -162,12 +162,12 @@ class FeatureManager {
}).start()
}, this)
this.registerCommand("soopyload", () => {
- new Thread(() => {
+ new NonPooledThread(() => {
this.loadSoopy()
}).start()
}, this)
this.registerCommand("soopyreload", () => {
- new Thread(() => {
+ new NonPooledThread(() => {
this.unloadSoopy()
this.loadSoopy()
}).start()
@@ -200,7 +200,7 @@ class FeatureManager {
}
loadPerformanceData() {
- new Thread(() => {
+ new NonPooledThread(() => {
ChatLib.chat(this.messagePrefix + "Recording performance impact, this will take around 60 seconds to complete!")
shouldRequireForceNoCache = true
let eventLagData = this.loadEventLag()