> On Mar 17, 2023, at 4:07 AM, Saagar Jha <saa...@saagarjha.com> wrote: > > The implementation of -[ThreadUtilities performOnMainThreadWaiting:block:] > does the right thing here, which is calling the block directly if it’s > already running on the main thread: > https://github.com/openjdk/jdk/blob/9d518c528b11953b556aa7585fc69ff9c9a22435/src/java.desktop/macosx/native/libosxapp/ThreadUtilities.m#L103. > It’s likely that your hang is caused by something else. > > Saagar Jha >
That was already suggested but I couldn’t understand how it could be done. I’ll take it as correct with the second opinion. The stack trace seemed to indicate this as the place. Maybe something within the block. I may have to debug further. Thanks. Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com