Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix for Issue 36 - "Preferences not saving". #40

Merged
merged 1 commit into from
Mar 15, 2014

Conversation

MarkJerde
Copy link
Collaborator

Hi Gennadiy,
Here's a simple fix for Issue 36.

The problem originated in revision 8 of Jumpcut, which added use of NSUserDefaults without a call to NSUserDefaults's synchronize function on exit. NSUserDefaults documentation states that synchronize is automatically invoked at periodic intervals but not automatically at exit and thus was unreliable without an explicit call. The problem was masked by a call to synchronize whenever a clipping was added if save is enabled.

Thanks,
Mark

… revision 8 of Jumpcut, which added use of NSUserDefaults without a call to NSUserDefaults's synchronize function on exit. NSUserDefaults documentation states that synchronize is automatically invoked at periodic intervals but not automatically at exit and thus was unreliable without an explicit call. The problem was masked by a call to synchronize whenever a clipping was added if save is enabled.
@MarkJerde MarkJerde mentioned this pull request Jul 19, 2013
TermiT added a commit that referenced this pull request Mar 15, 2014
Bug fix for Issue 36 - "Preferences not saving".
@TermiT TermiT merged commit 56cabde into TermiT:master Mar 15, 2014
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.

2 participants