コード例 #1
0
ファイル: LastfmSource.cs プロジェクト: thoja21/banshee-1
        public void Dispose()
        {
            Connection.StateChanged -= HandleConnectionStateChanged;
            ServiceManager.Get <Network> ().StateChanged -= HandleNetworkStateChanged;
            Connection.Dispose();
            preferences.Dispose();
            actions.Dispose();

            actions     = null;
            connection  = null;
            preferences = null;
            account     = null;
        }