From: Carl Hetherington Date: Thu, 12 Jan 2023 23:59:38 +0000 (+0100) Subject: Increase unmount timeout to 5s - maybe... this is a bit of a guess. X-Git-Tag: v2.16.42~11 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=80c608bf3171f88fe02d6e38efbd44fe4c59e21e Increase unmount timeout to 5s - maybe... this is a bit of a guess. --- diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index eb713a980..c54dd99f3 100644 --- a/src/lib/cross_osx.cc +++ b/src/lib/cross_osx.cc @@ -442,6 +442,7 @@ Drive::unmount () DASessionScheduleWithRunLoop (session, run_loop, kCFRunLoopDefaultMode); CFRunLoopStop (run_loop); CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.5, 0); + CFRunLoopRunInMode(kCFRunLoopDefaultMode, 5, 0); CFRelease(session); LOG_DISK_NC("End of unmount");