template: protect use of template manager with a lock (#15192)
This PR protects access to `templateHook.templateManager` with its lock. So far we have not been able to reproduce the panic - but it seems either Poststart is running without a Prestart being run first (should be impossible), or the Update hook is running concurrently with Poststart, nil-ing out the templateManager in a race with Poststart. Fixes #15189
Showing
+19 -9
.changelog/15192.txt
0 → 100644
Please register or sign in to comment