mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 08:58:05 +02:00
[main] Ensure second deactivate blocks until deactivation
When it comes to deactivation where the various steps of boot have to be carefully synchronized, we need to make sure that the client doesn't return early.
This commit is contained in:
parent
8ca85f9ab3
commit
fb19bb2371
1 changed files with 4 additions and 1 deletions
|
|
@ -760,7 +760,10 @@ on_deactivate (state_t *state,
|
|||
{
|
||||
if (state->deactivate_trigger != NULL)
|
||||
{
|
||||
ply_trigger_pull (deactivate_trigger, NULL);
|
||||
ply_trigger_add_handler (state->deactivate_trigger,
|
||||
(ply_trigger_handler_t)
|
||||
ply_trigger_pull,
|
||||
deactivate_trigger);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue