I am not very sure whether this problem has been discussed here before.I am very sorry if it has already been discussed.
The issue :
I have some serious clean up work to do before my JUCE application quits.This is fine as long as my application quits normally.What if it crashes ? I cannot afford NOT to do the clean up in any case.
Yes, the code has to be “exception handled”, but in an event of an unhandled exception it becomes an issue.
I tried over-ridding the “unhandledException” function from the JUCEApplication class.In the event of any crash ( i had to force generate this crash ) the control comes to this function on Windows and I could safely do my clean up.
But on MAC, the control just does not come to this function.Is this known behavior ? How do I then do the required clean up in the event of a crash on MAC ?
Any help in this regard would be greatly appreciated.
Thanks in advance,