If an android-allegro application is paused before it has a chance to call
al_init then it will crash, because nativeOnPause() makes use of various
things, such as al_vector, that will not work until al_init is called.

I think the function just needs a guard to check if al_init was called
before it does anything.

I see that nativeOnResume checks for system_data.system, and if null then
just returns immediately. Looks reasonable to me.
_______________________________________________
Allegro-developers mailing list
[email protected]
https://mail.gna.org/listinfo/allegro-developers

Reply via email to