Exemple #1
0
 protected override void CleanUp()
 {
     try
     {
         _mediaApi.DestroyPlayer(Id);
     }
     finally
     {
         _mediaInfo = null;
         Id         = -1;
     }
 }
Exemple #2
0
 protected override void CleanUp()
 {
     _subscription.Dispose();
     try
     {
         _mediaApi.DestroyPlayer(Id);
     }
     finally
     {
         _mediaInfo = null;
         Id         = -1;
     }
 }