MediaLibrary: Set logger before acquiring file lock
- Jun 17, 2022
-
-
File locking will attempt to log on failure (ie: the medialib is already locked). As `s_logger` null checks were removed [1], logging before constructing `MediaLibrary` was dereferencing nullptr. [1] fc002ae1
974fe366 -
This preceed logger default initialisation extraction from `MediaLibrary` constructor.
c04a18f9
-