We're writting an app that will extract first text and then images from various files.
In our test scripts we are finding that once we have extracted the text and try to open the file for image extraction that the file is being held open by another process.
We have closed all references to the file, disposed them and set them to null.
Using Process Explorer we found that it was QTAgent32 that was holding it open.
How can we tell this library to release the handle or is this a known bug and it won't affect the production code?
QTAgent32 is Visual Studio's test runner.
This means that your test has a FileStream
that you forgot to close.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With