mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	add Dispose in DisposeAsyncCore
This commit is contained in:
		
							parent
							
								
									0f7ba42987
								
							
						
					
					
						commit
						f088ca5555
					
				@ -276,6 +276,7 @@ namespace Emby.Server.Implementations.HttpServer
 | 
				
			|||||||
            if (_socket.State == WebSocketState.Open)
 | 
					            if (_socket.State == WebSocketState.Open)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                await _socket.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, "System Shutdown", CancellationToken.None).ConfigureAwait(false);
 | 
					                await _socket.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, "System Shutdown", CancellationToken.None).ConfigureAwait(false);
 | 
				
			||||||
 | 
					                _socket.Dispose();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user