Recent

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

AlexTP

  • Hero Member
  • *****
  • Posts: 1957
    • 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: 2763
    • 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 »

GetMem

  • Hero Member
  • *****
  • Posts: 3815
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