Skip to content

Commit

Permalink
Merge pull request #265 from Countly/macos-removed-observers
Browse files Browse the repository at this point in the history
Removed extra observer from macos
  • Loading branch information
turtledreams authored Jul 31, 2024
2 parents 2be11ad + e928517 commit bf9873e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ios/Classes/CountlyiOS/Countly.m
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@ - (instancetype)init
selector:@selector(applicationWillTerminate:)
name:NSApplicationWillTerminateNotification
object:nil];

[NSNotificationCenter.defaultCenter addObserver:self
selector:@selector(applicationDidBecomeActive:) name:NSApplicationDidBecomeActiveNotification
object:nil];
[NSNotificationCenter.defaultCenter addObserver:self
selector:@selector(applicationWillResignActive:) name:NSApplicationWillResignActiveNotification
object:nil];
#endif
}

Expand Down

0 comments on commit bf9873e

Please sign in to comment.