Re: [AD] Patch for al_uninstall_system() hanging after first call

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


/re-sent

On Mon, Jun 15, 2009 at 12:43 AM, Kibiz0r <kibiz0r@xxxxxxxxxx> wrote:
In the current revision, this example (in Windows) hangs on the second call to al_uninstall_system()

#include <allegro5/allegro5.h>

int main()
{
al_install_system(NULL);
al_uninstall_system();
al_install_system(NULL);
al_uninstall_system(); // hangs in _al_win_input_exit (win/winput.c:232)
return 0;
}

Fix is attached.

--
Michael Harrington



--
Michael Harrington | Software Apprentice
Atomic Object | http://atomicobject.com
[Ph] +1 616 776 6020 [Fx] +1 616 776 6015

Attachment: hanging_winput.patch
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/