vt_core: delay the shutdown splash event handler

Even though the functions are currently executed in the correct order,
there's no garuntee that this will always be the case.

Reported by:	kevans
Discussed with:	kevans
Fixes:		4b862c713a
MFC after:	3 days
This commit is contained in:
Ahmad Khalifa
2026-04-20 22:11:27 +02:00
parent ba7f47d47d
commit e72c59315e
+1 -1
View File
@@ -3193,7 +3193,7 @@ vt_upgrade(struct vt_device *vd)
vt_window_switch, vw, SHUTDOWN_PRI_DEFAULT);
#ifdef DEV_SPLASH
EVENTHANDLER_REGISTER(shutdown_pre_sync,
vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT);
vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT + 1);
#endif
}
}