Skip to content
Snippets Groups Projects
Commit 0c435079 authored by Jose Fonseca's avatar Jose Fonseca
Browse files

python: Hack to prevent segmentation faults when python exits.

parent 4e1e18a7
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,14 @@
static void
st_device_really_destroy(struct st_device *st_dev)
{
if(st_dev->screen)
if(st_dev->screen) {
/* FIXME: Don't really destroy until we keep track of every single
* reference or we end up causing a segmentation fault every time
* python exits. */
#if 0
st_dev->screen->destroy(st_dev->screen);
#endif
}
FREE(st_dev);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment