mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-08-08 17:23:20 +02:00
bug
This commit is contained in:
@@ -82,8 +82,12 @@ export class StratumV1Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public destroy() {
|
public destroy() {
|
||||||
this.stratumSubscription.unsubscribe();
|
if (this.stratumSubscription != null) {
|
||||||
clearInterval(this.backgroundWork);
|
this.stratumSubscription.unsubscribe();
|
||||||
|
}
|
||||||
|
if (this.backgroundWork != null) {
|
||||||
|
clearInterval(this.backgroundWork);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private getRandomHexString() {
|
private getRandomHexString() {
|
||||||
|
Reference in New Issue
Block a user