[vlc-commits] [Git][videolan/vlc][master] macosx: Implement disconnect in playlist data source
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Wed Jan 22 20:41:54 UTC 2025
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
cde627b0 by Claudio Cambra at 2025-01-22T20:22:28+00:00
macosx: Implement disconnect in playlist data source
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m
Changes:
=====================================
modules/gui/macosx/library/playlist-library/VLCLibraryPlaylistDataSource.m
=====================================
@@ -77,6 +77,11 @@ typedef NS_ENUM(NSInteger, VLCLibraryDataSourceCacheAction) {
object:nil];
}
+- (void)disconnect
+{
+ [NSNotificationCenter.defaultCenter removeObserver:self];
+}
+
- (void)playlistsReset:(NSNotification *)notification
{
NSParameterAssert(notification);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cde627b067969d6b0b457828f20c672ceaa93ac5
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cde627b067969d6b0b457828f20c672ceaa93ac5
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list