Commit 529532c
committed
fix(AxisCreator): prevent null exception if no axis found
There was an issue when no axis was found it would throw a null
exception as the `Next` call would try and iterate through to a
null element. This is resolved by just using the resulting bool
from the `Next` call to ensure whether it can proceed wit the
additional check.1 parent 571d134 commit 529532c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
0 commit comments