@@ -39,12 +39,14 @@ protected boolean isOwned() { return false; } public void enter() { + // Despite the naming of this method, on MacOS only one + // event is read and dispatched before this method returns. + // This call is non-blocking and does not wait for an event toolkit.startNativeNestedEventLoop(); } public void exit() { - toolkit.stopNativeNestedEventLoop(); } }