We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0690c2d commit 1209383Copy full SHA for 1209383
1 file changed
scautable/src-jvm/ExcelWorkbookCache.scala
@@ -48,10 +48,10 @@ object ExcelWorkbookCache:
48
case _: Exception =>
49
// Workbook is no longer valid, remove from cache and create new one
50
cache.remove(normalizedPath)
51
- WorkbookFactory.create(new File(normalizedPath))
+ WorkbookFactory.create(new File(normalizedPath), null, true)
52
case None =>
53
// No cached workbook or it was garbage collected
54
- val workbook = WorkbookFactory.create(new File(normalizedPath))
+ val workbook = WorkbookFactory.create(new File(normalizedPath), null, true)
55
cache.put(normalizedPath, new WeakReference(workbook))
56
workbook
57
end match
0 commit comments