diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-13 00:59:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-29 22:43:33 +0100 |
| commit | 80c608bf3171f88fe02d6e38efbd44fe4c59e21e (patch) | |
| tree | 57763645e0610d38ce81cb227e46564935102151 /src | |
| parent | b09eed77ec297dd05c112f4e93d6db5641053fe1 (diff) | |
Increase unmount timeout to 5s - maybe... this is a bit of a guess.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/cross_osx.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |
