Resolve fix:

- CancelResolv(): Standard function to cancel name resolve requests
  - Allow Resolv request to complete if not cancelled
  - Clear memory if resolve request cancelled
- getaddrinfo_a(): still leaks if thread not closed
Other:
- Code clean up
This commit is contained in:
2022-07-21 12:08:22 +02:00
parent 1c81055eea
commit fd3738567a
6 changed files with 85 additions and 90 deletions

View File

@@ -39,8 +39,7 @@ struct SFunctionType {
};
//---------------------------------------------------------------------------
struct SFunctionItem
{
struct SFunctionItem {
CFunctionCore * Function;
SFunctionItem * Next;
};