Skip to content

Commit 869d2ed

Browse files
committed
small fix
1 parent 5e36f7a commit 869d2ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sdam/topology.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,8 @@ export class Topology extends TypedEventEmitter<TopologyEvents> {
486486

487487
/** Close this topology */
488488
close(): void {
489+
const previousDescription = this.s.description;
490+
489491
if (this.s.state === STATE_CLOSED || this.s.state === STATE_CLOSING) {
490492
return;
491493
}

0 commit comments

Comments
 (0)