ServiceLocator.Current throws ObjectDisposedException

Found in

EPiServer.CMS.Core 12.19.1

Fixed in

EPiServer.CMS.Core 12.20.1

(Or a related package)

Created

Dec 15, 2023

Updated

Dec 26, 2023

Area

CMS Core

State

Closed, Fixed and tested


Description

Fixed an issue where ObjectDisposedException was thrown inside a non-disposed scope when background tasks or threads were created parallelly in separate service scopes.