]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/evtloopcmn.cpp
Refactor wxEventLoopSource-related code.
[wxWidgets.git] / src / common / evtloopcmn.cpp
index 9b7265510623ce1090d2fd3d41fd8ffeeadc8b84..5f9894d12501b99563129bcd4b3a1d8005627106 100644 (file)
@@ -54,11 +54,6 @@ void wxEventLoopBase::OnExit()
 {
     if (wxTheApp)
         wxTheApp->OnEventLoopExit(this);
-
-#if wxUSE_EVENTLOOP_SOURCE
-    // unregister all sources
-    (void) RemoveAllSources();
-#endif
 }
 
 void wxEventLoopBase::WakeUpIdle()