Skip to content

Commit 1209383

Browse files
committed
.
1 parent 0690c2d commit 1209383

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scautable/src-jvm/ExcelWorkbookCache.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ object ExcelWorkbookCache:
4848
case _: Exception =>
4949
// Workbook is no longer valid, remove from cache and create new one
5050
cache.remove(normalizedPath)
51-
WorkbookFactory.create(new File(normalizedPath))
51+
WorkbookFactory.create(new File(normalizedPath), null, true)
5252
case None =>
5353
// No cached workbook or it was garbage collected
54-
val workbook = WorkbookFactory.create(new File(normalizedPath))
54+
val workbook = WorkbookFactory.create(new File(normalizedPath), null, true)
5555
cache.put(normalizedPath, new WeakReference(workbook))
5656
workbook
5757
end match

0 commit comments

Comments
 (0)