We should always close the database before unlinking database file.
Created attachment 340461 [details] Patch
Comment on attachment 340461 [details] Patch r=me
Comment on attachment 340461 [details] Patch Clearing flags on attachment: 340461 Committed r231837: <https://trac.webkit.org/changeset/231837>
All reviewed patches have been landed. Closing bug.
<rdar://problem/40283939>