Closing the data sheet by clicking on close box crashes Panorama (Big Sur/b18 only)

Issue #1189 resolved
Jim Rea repo owner created an issue

This doesn’t happen if you just create a new untitled data sheet and close it. But if the database has been saved (even just a data sheet), or if a form has been added, then it crashes every time.

https://forum.provue.com/t/close-datasheet-and-crashes/4697

Comments (1)

  1. Jim Rea reporter

    Some AppKit classes require __unsafe_unretained instead of __weak references, but this wasn't handled completely correctly (since Apple didn't document the correct handling anywhere). For a complete rundown on the problem and the solution, see my internal notes under "__weak vs. __unsafe_unretained in Panorama X" and "Dealing with AppKit classes that don't support __weak references". Fixes issue #1189. Fixes issue #690. Fixes issue #686.

    → <<cset b275f9743ed4>>

  2. Log in to comment