#3626982: Keep the runtime theme registry usable after destruct

Empties the runtime registries in Registry::destruct() after destructing them, so a later getRuntime() in the same process builds a fresh ThemeRegistry that loads from the cache. Adds a kernel test that fails without the fix.

Closes #3626982

Merge request reports

Loading
Loading