mirror of
				https://github.com/ZetaKebab/MpcNET.git
				synced 2025-10-31 02:59:49 +00:00 
			
		
		
		
	Fixed disconnecting should not be logged if disconnect does not actually happen.
This commit is contained in:
		| @@ -232,12 +232,12 @@ namespace MpcNET | ||||
|  | ||||
|         private Task DisconnectAsync(bool isExplicitDisconnect) | ||||
|         { | ||||
|             this.mpcConnectionReporter?.Disconnecting(isExplicitDisconnect); | ||||
|             if (this.tcpClient == null) | ||||
|             { | ||||
|                 return Task.CompletedTask; | ||||
|             } | ||||
|  | ||||
|             this.mpcConnectionReporter?.Disconnecting(isExplicitDisconnect); | ||||
|             this.ClearConnectionFields(); | ||||
|             this.mpcConnectionReporter?.Disconnected(isExplicitDisconnect); | ||||
|             return Task.CompletedTask; | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
|     <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | ||||
|     <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||||
|     <RootNamespace>MpcNET</RootNamespace> | ||||
|     <Version>0.0.1-pre008</Version> | ||||
|     <Version>0.0.1-pre009</Version> | ||||
|     <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||||
|     <AssemblyVersion>0.0.1.0</AssemblyVersion> | ||||
|     <FileVersion>0.0.1.0</FileVersion> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kim Hugener-Ohlsen
					Kim Hugener-Ohlsen