Skip to content
Snippets Groups Projects
Commit bdb18949 authored by Claudio Cambra's avatar Claudio Cambra Committed by Steve Lhomme
Browse files

macosx: Don't send nil as notification object for...

macosx: Don't send nil as notification object for VLCLibraryModelVideoMediaListUpdated and VLCLibraryModelAudioMediaListUpdated in VLCLibraryModel's dropCaches

Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent 43ad8704
No related branches found
No related tags found
Loading
Pipeline #314976 passed with stages
in 25 minutes and 8 seconds
......@@ -513,8 +513,8 @@ static void libraryCallback(void *p_data, const vlc_ml_event_t *p_event)
_cachedArtists = nil;
_cachedAudioMedia = nil;
[_defaultNotificationCenter postNotificationName:VLCLibraryModelVideoMediaListUpdated object:nil];
[_defaultNotificationCenter postNotificationName:VLCLibraryModelAudioMediaListUpdated object:nil];
[_defaultNotificationCenter postNotificationName:VLCLibraryModelVideoMediaListUpdated object:self];
[_defaultNotificationCenter postNotificationName:VLCLibraryModelAudioMediaListUpdated object:self];
}
@end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment