generic: Add missing uarch guard

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2022-04-27 14:18:42 +01:00
parent a35c80cc10
commit 20cfafa109

View File

@ -390,6 +390,7 @@ void Arch::unbindWire(WireId wire)
refreshUiPip(pip); refreshUiPip(pip);
} }
if (uarch)
uarch->notifyWireChange(wire, nullptr); uarch->notifyWireChange(wire, nullptr);
net_wires.erase(wire); net_wires.erase(wire);
wire_info(wire).bound_net = nullptr; wire_info(wire).bound_net = nullptr;