This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Better handling of the engine destruction #19379
Open
Description
Description
Currently engine is a singleton, the lifetime of which is controlled by the static shared_ptr
. This means that the engine is destroyed at the program exit in an unspecified time (depending on the linking order for example). This was the reason of the issue #19360, which was WARed by #19378. As noted in #19360 (comment) the real solution should be a better handling of the lifetime of the engine. Once this is implemented, #19378 should be reverted.