adobe / adobe/PDFServices.NET.SDK.Samples
Filed locked after calling FileRef.CreateFromLocalFile
- 主要言語
- HTML
- スター
- 47
- フォーク
- 23
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Using Export To Docx I want to delete the original PDF file after calling the following:
FileRef sourceFileRef = FileRef.CreateFromLocalFile();
After Creating PDF from local file. I want to delete the original file but a lock remains on the file.
When I try to delete the file with File.Delete, an exception is thrown that there is a lock on the file from another process.
I cannot dispose of the the FileRef and even after setting the object to null, the lock remains.
コントリビューションガイド
調査の方向性
Issue では FileRef.CreateFromLocalFile と File.Delete が挙げられています。まず、Export To Docx フローでそのシーケンスを再現し、元の PDF がいつロックされたままになるかを確認してください。PDF 作成後に元のファイルを lock 例外なしで削除でき、必要な FileRef のクリーンアップ動作が特定できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100