I just ran into this as well. I’m running a local script in the form of:
try {
fileOne = fileOpen( .... );
fileTwo = fileOpen( .... );
} finally {
fileOne?.close();
fileTwo?.close();
}
And I’m getting the Conflict in same thread
. Everything appears to be working fine, just the log errors. I can confirm that switching from ?.close()
to fileClose()
removes the error. But, of course, doesn’t handle null-references gracefully. But, hey, it’s a local script.