X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/070ae4ab75671d43ff36f02f9773c3a23c2bd345..ed1d49cbe548d9fb26a50f1b2381b693c3c01790:/dnsasync.pas 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;