Post #2221452
2026-03-17 05:22 UTC
@_the_cloud@mastodon.social @theirongiant@hachyderm.io CanvasWGetState doesn’t touch anything related to the actual Mac WindowPtr, just my internal window information structure with the status of if we’re connected, waiting to place a pixel, etc.
That structure is only released when you’ve actually closed the window (click in goAway or File>Close)
Replies (1)
-
@kalleboo@bitbang.social 2026-03-17 05:31
@_the_cloud@mastodon.social @theirongiant@hachyderm.io And even if the window closed itself for some reason, the close handler clears out the reference to itself in the fatbits window for this very reason (dealing with closing the main window closes the fatbits window automatically) (1/2)