diff --git a/docs/source/support/release-notes.rst b/docs/source/support/release-notes.rst index 4d4d834a6450..3df175951293 100644 --- a/docs/source/support/release-notes.rst +++ b/docs/source/support/release-notes.rst @@ -14,6 +14,8 @@ Sandbox - Fixed a bug in an internal data structure that broke contract keys. See `#1623 `__. +- Fixed a bug of not closing a resource properly when shutting down the Sandbox. + See `#1702 `__. 0.12.25 — 2019-06-13 -------------------- diff --git a/ledger/sandbox/src/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/SqlLedger.scala b/ledger/sandbox/src/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/SqlLedger.scala index 7d72121ab019..38c62b5ac1dd 100644 --- a/ledger/sandbox/src/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/SqlLedger.scala +++ b/ledger/sandbox/src/main/scala/com/digitalasset/platform/sandbox/stores/ledger/sql/SqlLedger.scala @@ -210,6 +210,7 @@ private class SqlLedger( override def close(): Unit = { persistenceQueue.complete() + checkpointQueue.complete() ledgerDao.close() }