do not close channel, that means closing socket

git-svn-id: trunk@9652 -
This commit is contained in:
micha 2006-07-21 14:51:47 +00:00
parent 97bd8ff729
commit 6b94723516

View File

@ -69,8 +69,8 @@ var
begin
if AHandler = nil then exit;
g_source_remove(lEventHandler^.GSourceID);
{ channel will be freed with ref count drops to 0 }
g_io_channel_unref(lEventHandler^.GIOChannel);
g_io_channel_close(lEventHandler^.GIOChannel);
if lEventHandler^.PrevHandler = nil then
FWaitHandles := lEventHandler^.NextHandler
else