Cleanup WIN32 target using WSACleanup().
This commit is contained in:
		@@ -294,6 +294,11 @@ int main(int argc, char **argv)
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ares_destroy(channel);
 | 
					  ares_destroy(channel);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef USE_WINSOCK
 | 
				
			||||||
 | 
					  WSACleanup();
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return 0;
 | 
					  return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -143,6 +143,11 @@ int main(int argc, char **argv)
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ares_destroy(channel);
 | 
					  ares_destroy(channel);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef USE_WINSOCK
 | 
				
			||||||
 | 
					  WSACleanup();
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return 0;
 | 
					  return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user