|  | @@ -16,13 +16,15 @@ namespace ET
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              catch (Exception e)
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  | -                session?.Dispose();
 | 
	
		
			
				|  |  |                  Log.Error(e.ToString());
 | 
	
		
			
				|  |  |                  return ErrorCode.ERR_NetWorkError;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            if (a2C_GetVersion.Error != ErrorCode.ERR_Success)
 | 
	
		
			
				|  |  | +            finally
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  |                  session?.Dispose();
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            if (a2C_GetVersion.Error != ErrorCode.ERR_Success)
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  |                  return a2C_GetVersion.Error;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              return ErrorCode.ERR_Success;
 | 
	
	
		
			
				|  | @@ -100,6 +102,7 @@ namespace ET
 | 
	
		
			
				|  |  |              accountInfoComponent.Token = a2CLoginAccount.Token;
 | 
	
		
			
				|  |  |              accountInfoComponent.AccountId = a2CLoginAccount.AccountId;
 | 
	
		
			
				|  |  |              accountInfoComponent.Age = a2CLoginAccount.Age;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          public static async ETTask<int> Register(Scene zoneScene, string address, string account, string password, string name, string identityNum, string code)
 |