Crashing on exit

Miscellaneous Forums/Linux Discussion/Crashing on exit

Thanks for the tip, Skidracer. However, upon opening the source I find that the XCloseDisplay(xdisplay); call is already in there...

void bbGLExit()
{
	bbGLGraphicsClose( _currentContext );
	if (cursor)
	{	
		XFreeCursor(xdisplay,cursor);
		cursor=0;
	}
	XCloseDisplay(xdisplay);
	xdisplay=0;
}


That is the right function, isn't it? What about the cursor bit, could that have anything to do with it? Probably not, but I might as well ask.

So, when is the next update? ;o)