[banshee: 31/57] Added destructor to ServerSource
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee: 31/57] Added destructor to ServerSource
- Date: Mon, 13 Feb 2012 20:30:26 +0000 (UTC)
commit 3b313a449cee3b8d369eaefb48b16677fa8c88f6
Author: Tobias Arrskog <topfs2 xbmc org>
Date: Thu Jul 14 18:16:01 2011 +0200
Added destructor to ServerSource
.../Banshee.UPnPClient/UPnPServerSource.cs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs b/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs
index 3434382..5ccaef7 100644
--- a/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs
+++ b/src/Extensions/Banshee.UPnPClient/Banshee.UPnPClient/UPnPServerSource.cs
@@ -76,6 +76,12 @@ namespace Banshee.UPnPClient
}
+ ~UPnPServerSource ()
+ {
+ RemoveChildSource (music_source);
+ music_source = null;
+ }
+
void Parse (ContentDirectoryController contentDirectory)
{
RemoteContentDirectory remoteContentDirectory = new RemoteContentDirectory (contentDirectory);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]