mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 09:59:17 +02:00
do not close channel, that means closing socket
git-svn-id: trunk@9652 -
This commit is contained in:
parent
97bd8ff729
commit
6b94723516
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user