Skip to content

Commit

Permalink
Merge pull request #330 from Countly/macos-remove-observer
Browse files Browse the repository at this point in the history
Removed extra observers from Macos
  • Loading branch information
turtledreams authored Jul 31, 2024
2 parents 9fb589e + 3568bb0 commit 19da125
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions 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 19da125

Please sign in to comment.