[haiku-development] Re: Has the shutdown process changed recently?
- From: "Humdinger" <dmarc-noreply@xxxxxxxxxxxxx> ("humdingerb")
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 02 Nov 2022 10:23:39 +0100
Hi Máximo Castañeda!
On Tue, 1 Nov 2022 18:34:20 +0000 (UTC) Máximo Castañeda wrote:
So the question changes to: How differs the shutdown messaging for
background applications?
How to make sure Clipdinger's QuitRequested() functions are called on
shutdown?
So maybe the quit message does not get to the app before the SIGTERM or is
not processed fast
enough, considering there's file writing. Maybe there should be another
_ScheduleTimeoutEvent(kBackgroundAppQuitTimeout, -1);
_WaitForBackgroundApps();
while in BACKGROUND_APP_TERMINATION_PHASE to give them some slack before
firing signals around?
Can't comment on the technicalities, but I'm very much in favour of finding a
solution to this (ready for
Beta4...). Deprived of reacting to a shutdown, Clipdinger is severly crippled
as the promised saved clip history
isn't.
[Off-topic: I could save the history with every new clip, but the constant
writing to disk didn't feel right...
Would you guys consider it OK? It would have an upside, too, as in case of
crashes...]
Regards,
Humdinger
--
Help translating 3rd party Haiku applications
Go to Polyglot at
https://i18n.kacperkasper.pl
Other related posts: