Recent

Author Topic: [Solved] TApplicationProperties.OnEndSession  (Read 1502 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2561
    • UVviewsoft
[Solved] TApplicationProperties.OnEndSession
« on: February 21, 2022, 07:59:45 pm »
I cannot check it right now. so asking: is SUBJ event supported on Cocoa?
even more: the app maybe should react to OS shutdown and close together with OS.

Here is my demo to test it.
« Last Edit: February 25, 2022, 06:15:14 pm by Alextp »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: TApplicationProperties.OnEndSession
« Reply #1 on: February 21, 2022, 08:18:57 pm »
i really doubt about that.

Actually it seems to be supported! (sounds like it's worth to record that on the wiki)
The origin: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/34798
« Last Edit: February 21, 2022, 08:29:46 pm by skalogryz »

balazsszekely

  • Guest
Re: TApplicationProperties.OnEndSession
« Reply #2 on: February 21, 2022, 08:36:25 pm »
It works fine at my side.

OS: macOS 10.16 Big Sur
Laz: Trunk
FPC: 3.2.2

 

TinyPortal © 2005-2018