summaryrefslogtreecommitdiff
path: root/icon-themes/colibre/cmd/lc_showdatanavigator.png
diff options
context:
space:
mode:
authorDan Williams <dcbw@libreoffice.org>2026-03-01 09:07:55 -0600
committerDan Williams <dcbw@libreoffice.org>2026-04-09 05:18:27 +0200
commit286f7b2699e745c26b0d95a28602c0bf9d90f4d0 (patch)
treebc0aa5aa19dfae95d11fa74ea485e94156ff4d19 /icon-themes/colibre/cmd/lc_showdatanavigator.png
parent043022622989777b31bea3aa6612c1540416d9dd (diff)
vcl: osx: let VCL clean up before exitingHEADmaster
On macOS NSApplicationMain() never returns, but instead calls exit() internally when the application is done. Calling [NSApp stop:] or NSApplication's terminate: selector and returning NSTerminateNow from applicationShouldTerminate will pretty immediately end up calling exit() in Cocoa frameworks. That doesn't let LO clean up after itself or even de-init the VCL. Instead always return NSTerminateCancel from applicationShouldTerminate to allow the LO Application to process the PrivateDoShutdown event and exit the application's main loop. Then we can call [NSApp stop:] to allow NSApplicationMain() to kill us. This lets all the normal LO de-init code at the end of ImplSVMain/ImplSVMainRun actually execute prior to termination. Change-Id: I57b4cd14599fda0fa5c174956a36e0a8e6464fa1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200715 Tested-by: Jenkins Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Diffstat (limited to 'icon-themes/colibre/cmd/lc_showdatanavigator.png')
0 files changed, 0 insertions, 0 deletions