Commit 792a139
committed
Fix segfault when removing displays
When there was an instance of a DisplayGroupVisibilityProperty (e.g. due to a CameraDisplay),
the display's virtual function BoolProperty::getBool() was called from the Property destructor
(when removing it from the model), which caused undefined behavior.1 parent a4c276d commit 792a139
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
0 commit comments