Added close socket and clean buffer to Downloader URIReader and InputHLS
This commit is contained in:
		
							parent
							
								
									503a9591c9
								
							
						
					
					
						commit
						12246581e6
					
				
					 3 changed files with 22 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -679,6 +679,11 @@ namespace Mist{
 | 
			
		|||
            break; // we have all tracks discovered, next playlist!
 | 
			
		||||
          }
 | 
			
		||||
        }while (!segDowner.atEnd());
 | 
			
		||||
        if (!segDowner.atEnd()){
 | 
			
		||||
          segDowner.close();
 | 
			
		||||
          tsStream.clear();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (prepidCounter < pidCounter){break;}// We're done reading this playlist!
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue