summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-20 08:09:34 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-20 08:09:34 +0100
commitf5628aa66de0173f4fc145586a8c83e66e32f160 (patch)
tree9378c61789b0ac3f85cd9ff5854540b02321ebce /src/Fl.cxx
parent733ffed6308a63c5f7975bf2e5807b29faf2c77a (diff)
Fix issue #413: Commit 29d9e31 creates memory handling problem under macOS.
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 28fc04c5f..f77a88363 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -479,29 +479,6 @@ void Fl::run_idle() {
occurs (this will happen on X11 if a signal happens).
*/
double Fl::wait(double time_to_wait) {
-
- // platform independent part:
-
- // delete all widgets that were listed during callbacks
- do_widget_deletion();
-
- Fl_Timeout::do_timeouts(); // execute timer callbacks
-
- Fl::run_checks();
-
- Fl::run_idle();
-
- // the idle function may turn off idle, we can then wait,
- // or it leaves Fl::idle active and we set time_to_wait to 0
- if (Fl::idle) {
- time_to_wait = 0.0;
- } else {
- // limit time by next timer interval
- time_to_wait = Fl_Timeout::time_to_wait(time_to_wait);
- }
-
- // platform dependent part:
-
return system_driver()->wait(time_to_wait);
}