Description
Registry shutdown holds the scope write lock while deactivating services, while factory activation holds an instance lock while invoking user factory lookup. Lock ordering should not call user lookup under the opposing lock; otherwise activation and shutdown can deadlock indefinitely.
Description
Registry shutdown holds the scope write lock while deactivating services, while factory activation holds an instance lock while invoking user factory lookup. Lock ordering should not call user lookup under the opposing lock; otherwise activation and shutdown can deadlock indefinitely.