* In _GSocket_Get_Mac_Socket(), do not call CFSocketSetSocketFlags to turn
off kCFSocketCloseOnInvalidate. Furthermore,
kCFSocketAutomaticallyReenableWriteCallback wasn't part of default flags
but had been erroneously included here.
* Call CFSocketInvalidate() from _GSocket_Diable_Events instead of from
_GSocket_GUI_Destroy_Socket. GSocket calls this from GSocket_close
and so in combination with the above change and the most recent change
to gsocket.c the CFSocket should now be invalidated and closed for all
cases and not just planned shutdown.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25168
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775