projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09eed7
)
Increase unmount timeout to 5s - maybe... this is a bit of a guess.
author
Carl Hetherington
<cth@carlh.net>
Thu, 12 Jan 2023 23:59:38 +0000
(
00:59
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 29 Jan 2023 21:43:33 +0000
(22:43 +0100)
src/lib/cross_osx.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross_osx.cc
b/src/lib/cross_osx.cc
index eb713a980eb7325dae61459b66af7769ac7c3e6c..c54dd99f3f8f5e87da82a30c46d465399b37e3f8 100644
(file)
--- 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");