Fixing a deadlock in working_copy::memory (used only in tests for now)

Created by  pmeunier  on April 29, 2021
MOPABMFWZOEMCIQMLEFH74NGTFV6K26FGUFETV3FG5VHCBGLXDIQC
Change contents