netcdfAll-5.5.3.jar Unable to release handle after reading file #1257
Replies: 2 comments 8 replies
|
Hello, I wasn't able to reproduce this problem. Admittedly, I'm running a Mac so this wasn't an apples to apples test. I'll keep investigating to see if it is Windows specific problem. In the meantime, could you tell me a few things: Are you able to delete the file when your code isn't running? |
test.txt |
Uh oh!
There was an error while loading. Please reload this page.
try (NetcdfFile ncfile = NetcdfFiles.open(path)) {
// Do cool stuff here
} catch (IOException ioe) {
ioe.printStackTrace();
}
System.out.println("111111");
Break point on the last line,After starting debugging,Attempting to delete the read in file, Win11 shows that it cannot be deleted,Why is this
All reactions