al_uninstall_sytem()

This is an old ar­ti­cle from 2012. I was a kid. I learned a lot since then, so please do think twice when tak­ing ad­vice from me as a kid.

I spent 2 hours de­bug­ging last night and an­oth­er 2 hours to­day to find the rea­son for ran­dom crash­es at ap­pli­ca­tion ex­it.

When us­ing Al­le­gro 5 in a shared li­brary, it is very im­por­tant to use al_unin­stal­l_sys­tem() man­u­al­ly (I guess al­le­gro can’t call this in atex­it() in those cas­es for some rea­son).

For those out there who al­so have this prob­lem

This post was im­port­ed from tum­blr

Tumblr

Archived blog posts from squareys.tum­blr.com.