Skip to content

Conversation

@davidme-stripe
Copy link
Contributor

I incorrectly added an observer to NSWorkspaceDidWakeNotification during the scheduleTimer function. When showing seconds, this means that UTCMenuClock would re-register for the notification every second, and it would re-register observation that many times on each wake. This caused #20.

Moving the observation to awakeFromNib should fix it. I also renamed the function to make it clearer that this should be only called once. Sorry for breaking it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant