mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-04-14 14:59:33 +02:00
bug
This commit is contained in:
parent
3e2de62259
commit
9ecfc68155
@ -83,7 +83,9 @@ export class StratumV1Client {
|
||||
|
||||
public async destroy() {
|
||||
|
||||
await this.clientService.delete(this.clientEntity.id);
|
||||
if (this.clientEntity.id) {
|
||||
await this.clientService.delete(this.clientEntity.id);
|
||||
}
|
||||
|
||||
if (this.stratumSubscription != null) {
|
||||
this.stratumSubscription.unsubscribe();
|
||||
|
Loading…
x
Reference in New Issue
Block a user