mirror of
				https://github.com/talwat/lowfi
				synced 2025-10-31 03:08:46 +00:00 
			
		
		
		
	fix: drop stream before aborting ui to prevent flicker
This commit is contained in:
		
							parent
							
								
									f0123fd2bc
								
							
						
					
					
						commit
						ce8f8d2845
					
				| @ -109,9 +109,9 @@ pub async fn play(args: Args) -> eyre::Result<()> { | ||||
| 
 | ||||
|     // Save the volume.txt file for the next session.
 | ||||
|     PersistentVolume::save(player.sink.volume()).await?; | ||||
|     drop(stream.0); | ||||
|     player.sink.stop(); | ||||
|     ui.abort(); | ||||
|     drop(stream.0); | ||||
| 
 | ||||
|     Ok(()) | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user