Browse Source

iOS: Added a dealloc routine to JuceAppStartupDelegate

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
7dd8e40114
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      modules/juce_gui_basics/native/juce_ios_Windowing.mm

+ 8
- 2
modules/juce_gui_basics/native/juce_ios_Windowing.mm View File

@@ -48,7 +48,8 @@ namespace juce
} }
@property (strong, nonatomic) UIWindow *window; @property (strong, nonatomic) UIWindow *window;
- (id)init;
- (id) init;
- (void) dealloc;
- (void) applicationDidFinishLaunching: (UIApplication*) application; - (void) applicationDidFinishLaunching: (UIApplication*) application;
- (void) applicationWillTerminate: (UIApplication*) application; - (void) applicationWillTerminate: (UIApplication*) application;
- (void) applicationDidEnterBackground: (UIApplication*) application; - (void) applicationDidEnterBackground: (UIApplication*) application;
@@ -88,7 +89,7 @@ namespace juce
NSObject* _pushNotificationsDelegate; NSObject* _pushNotificationsDelegate;
- (id)init
- (id) init
{ {
self = [super init]; self = [super init];
appSuspendTask = UIBackgroundTaskInvalid; appSuspendTask = UIBackgroundTaskInvalid;
@@ -100,6 +101,11 @@ namespace juce
return self; return self;
} }
- (void) dealloc
{
[super dealloc];
}
- (void) applicationDidFinishLaunching: (UIApplication*) application - (void) applicationDidFinishLaunching: (UIApplication*) application
{ {
ignoreUnused (application); ignoreUnused (application);


Loading…
Cancel
Save