This commit is contained in:
Ben Wilson 2024-02-16 17:17:19 -05:00
parent 3e2de62259
commit 9ecfc68155

View File

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