Skip to content

Commit

Permalink
fix fd leak when closing KyuubiSession but OperationLog not initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyangz committed Dec 14, 2023
1 parent 4c029f9 commit 2549928
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ class OperationLog(path: Path) {
}

def close(): Unit = synchronized {
if (!initialized) return

closeExtraReaders()

trySafely {
Expand Down

0 comments on commit 2549928

Please sign in to comment.