Fix an ownership issue in ScopedAgentLogger

The temporary directory used by the ScopedAgentLogger class shouldn't be
cleaned up on destruction as it's owned by the object that owns this
logger's instance.

This is a part of the integration_test's design as we need to process the
logger files after it has been destroyed (i.e. to analyze the minidump).

1 file changed