Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
MediaLibraryKit
Commits
ec8831a8
Commit
ec8831a8
authored
Oct 13, 2015
by
Felix Paul Kühne
Browse files
Fix runtime exception
(cherry picked from commit
829f3c17
)
parent
a13306cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/MLMediaLibrary.m
View file @
ec8831a8
...
...
@@ -401,7 +401,13 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
if
(
!
moc
)
return
;
BOOL
success
=
[
moc
save
:
&
error
];
BOOL
success
=
NO
;
@try
{
success
=
[
moc
save
:
&
error
];
}
@catch
(
NSException
*
exception
)
{
NSLog
(
@"Saving changes failed"
);
}
NSAssert1
(
success
,
@"Can't save: %@"
,
error
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment