Subject: Re: bug#65843: 28.2; Too many iconified frames in .emacs.desktop -> crash (macOS)

From: Gerd Möllmann <[email-masked]>
Date: Mon, 11 Sep 2023 06:50:13 +0200

Gerd Möllmann <[email-masked]> writes:

> Thanks, I'll try that.
>
> diff --git a/src/nsterm.m b/src/nsterm.m
> index c809c0b824a..2cb508b5328 100644
> --- a/src/nsterm.m
> +++ b/src/nsterm.m
> @@ -4560,6 +4560,7 @@ Function modeled after x_draw_glyph_string_box ().
>       the [NXApp run] main loop after having processed all events queued at
>       this moment.  */
>  
> +#if 0
>  #ifdef NS_IMPL_COCOA
>    if (! send_appdefined)
>      {
> @@ -4572,6 +4573,7 @@ in certain situations (rapid incoming events).
>                                              dequeue:NO];
>        if (! appev) send_appdefined = YES;
>      }
> +#endif
>  #endif
>  
>    if (send_appdefined)
>

500 runs without a crash, I'd say that counts as fixed :-).

Thanks, Alan!