Unregister wake up pipe file fd in ~wxConsoleEventLoop.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 Sep 2009 22:40:18 +0000 (22:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 Sep 2009 22:40:18 +0000 (22:40 +0000)
commitc8299fa80cf23b0f1af2200e4a91d6d5fbb4a580
treedf065f9395187c319d5b104fcf0fd133ebe608b9
parent63f4968cd18cd1cdf757a610c774f701aad6144c
Unregister wake up pipe file fd in ~wxConsoleEventLoop.

We must unregister the wake up pipe file descriptor which we register with the
IO dispatcher in wxConsoleEventLoop ctor, otherwise doing it the next time
(i.e. if wxConsoleEventLoop is deleted and recreated) results in asserts, at
least when using wxSelectDispatcher and not wxEpollDispatcher (i.e. under any
non-Linux Unix system).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/unix/evtloopunix.cpp