]> git.saurik.com Git - wxWidgets.git/commit
* _GSocket_Enable_Events() and _GSocket_Disable_Events() now call
authorDavid Elliott <dfe@tgwbd.org>
Wed, 14 Jan 2004 02:17:16 +0000 (02:17 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 14 Jan 2004 02:17:16 +0000 (02:17 +0000)
commitfda20787fca129376f73d6dd61b53a199df41ddf
treea043144d89021c4f5532bfc20efb7571f6335365
parentbc59c2062c644236551b9652874414bdb2144955
* _GSocket_Enable_Events() and _GSocket_Disable_Events() now call
  CFRunLoopAddSource() and CFRunLoopRemoveSource() respectively.  They
  no longer call CFSocketEnableCallbacks or CFSocketDisableCallbacks.
* In _GSocket_Get_Mac_Socket() no longer disable callbacks and also do not
  add the runloop source which combined with the above change has the
  same effect as before.
* In _GSocket_GUI_Destroy_Socket() do not remove the runloop source because
  _GSocket_Disable_Events() should have and even if it didn't Mac OS X
  will clean it up in CFSocketInvalidate()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/mac/carbon/gsockosx.c
src/mac/gsockosx.c