diff --git a/widget/src/cocoa/nsToolkit.mm b/widget/src/cocoa/nsToolkit.mm index 0b351f81eb10..4f4bd3a56582 100644 --- a/widget/src/cocoa/nsToolkit.mm +++ b/widget/src/cocoa/nsToolkit.mm @@ -46,6 +46,8 @@ #include "nsIEventQueueService.h" #include "nsIServiceManager.h" +#include "nsRepeater.h" + // for some reason, this must come last. otherwise the appshell // component fails to instantiate correctly at runtime. #undef DARWIN @@ -137,6 +139,10 @@ printf("shutting down event queue\n"); NS_ASSERTION(NS_SUCCEEDED(rv), "Error processing PLEvents"); } } + + EventRecord anEvent; + Repeater::DoIdlers(anEvent); + Repeater::DoRepeaters(anEvent); }