init_pool

Function init_pool 

Source
pub fn init_pool(state: &Arc<AppState>)
Expand description

Initialize the pool after primary-window first paint. Spawns POOL_TARGET_SIZE windows. Called once per app run from on_after_created for the “main” label.

Windows-only: promote_pool_window is a no-op on non-Windows platforms (Phase 7 will add equivalents). Spawning hidden pool windows that can never be consumed would just waste renderer processes, so we skip the whole init off-Win32.