enki-community / enki

A fast 2-D robot simulator. To contact us, please open an issue.
Other
36 stars 34 forks source link

Segmentation fault on closing GUI windows #72

Open titos-carrasco opened 3 years ago

titos-carrasco commented 3 years ago

Clicking on close window button finished the app with a Segmentation fault error

Tested on enkiplaygorund and pyenki

titos-carrasco commented 3 years ago

Something in Viewer.cp - ViewerWidget::~ViewerWidget() crash the app when yoy click on window close button

Anyway, here is a simple patch to avoid the error (but no destructors are invoked)

Saludos segfault.patch.zip