I am testing if it is possible to use the non-gui classes of JUCE within a standard iphone app that uses cocoa for its user interface. I created a view based application and added initialiseJuce_GUI(); to the app delegates
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
To properly shutdown juce when the app quits I added shutdownJuce_GUI(); to the app delegates
- (void)applicationWillTerminate:(UIApplication *)application
When I quit the simulator I get the following assertion:
*** Leaked objects detected: 1 instance(s) of class HeapBlock
JUCE Assertion failure in /Users/patrick/Documents/development/libs/juce/Builds/iOS/…/…/src/native/mac/…/…/core/…/memory/juce_LeakedObjectDetector.h, line 95
Did I miss somenthing? Do I need to release something else to properly shutdown an application that uses Juce?