fix: possible crash with vistable rebuild (ref #443)
This commit is contained in:
parent
0072bbb413
commit
70ff2d0ec2
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ void GraphVistable::rebuild () {
|
|||
}
|
||||
m_length = graph.length ();
|
||||
|
||||
// stop generation if graph has changed, or erased
|
||||
if (!m_length || graph.hasChanged ()) {
|
||||
m_rebuild = false;
|
||||
return;
|
||||
}
|
||||
TraceResult tr {};
|
||||
uint8_t res, shift;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue