mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 10:08:06 +02:00
[main] avoid crash when no splash running
We haven't saved the passed deactivate trigger to the state, so it won't be set there. Just pull it directly.
This commit is contained in:
parent
32ee3f6ab8
commit
19412c8a4d
1 changed files with 1 additions and 2 deletions
|
|
@ -745,8 +745,7 @@ on_deactivate (state_t *state,
|
|||
}
|
||||
else
|
||||
{
|
||||
ply_trigger_pull (state->deactivate_trigger, NULL);
|
||||
state->deactivate_trigger = NULL;
|
||||
ply_trigger_pull (deactivate_trigger, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue