Bug 1880582 Comment 117 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

This is a simplified version of a fix authored by Stephen Michaud. This
creates a death grip in DestroyNativeWindow() and holds it until the
nsCocoaWindow is destroyed. This seems to satisfy the various run loops
in macOS which might invoke DestroyNativeWindow() without holding a
reference to the window itself.
This is a simplified version of a fix authored by Steven Michaud. This
creates a death grip in DestroyNativeWindow() and holds it until the
nsCocoaWindow is destroyed. This seems to satisfy the various run loops
in macOS which might invoke DestroyNativeWindow() without holding a
reference to the window itself.

Back to Bug 1880582 Comment 117