fix: fixed undefined behavior after disconnecting buffers
This commit is contained in:
parent
1a898dc926
commit
e8331b3d7a
|
@ -30,7 +30,7 @@ export class Wire {
|
||||||
public dispose() {
|
public dispose() {
|
||||||
this.end.value.removePair(this.start.value)
|
this.end.value.removePair(this.start.value)
|
||||||
this.start.value.removePair(this.end.value)
|
this.start.value.removePair(this.end.value)
|
||||||
this.end.value.state.next(false)
|
this.end.value.state.next("0")
|
||||||
|
|
||||||
this.active = false
|
this.active = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue