mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
Before this change CaptureOutput could trip the race detector when used concurrently. In particular if go routines using the logging are outlasting the return from `fun()`. This fixes the problem with a mutex.