X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/eaa75975b23ce60360526c08628f2b0651c95167..ed1d49cbe548d9fb26a50f1b2381b693c3c01790:/dnsasync.pas?ds=inline diff --git a/dnsasync.pas b/dnsasync.pas index b6e8941..c13f6ab 100644 --- a/dnsasync.pas +++ b/dnsasync.pas @@ -109,6 +109,14 @@ begin setstate_request_init('',states[socketno]); end; end; + + {$ifdef mswindows} + if assigned(dwas) then begin + dwas.release; + dwas := nil; + end; + {$endif} + inherited destroy; end;