From a5d555d3d17407e9a5f8045855e51b922bc4b6d7 Mon Sep 17 00:00:00 2001 From: Gabor Aranyossy Date: Mon, 17 Jun 2019 10:29:52 +0200 Subject: [PATCH 1/2] added missing closure for checkpointQueue in SqlLedger --- .../platform/sandbox/stores/ledger/sql/SqlLedger.scala | 1 + 1 file changed, 1 insertion(+) 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() } From 982dfdf242f7028f5bc562f3d3c0bdd8ade2e212 Mon Sep 17 00:00:00 2001 From: Gabor Aranyossy Date: Mon, 17 Jun 2019 10:39:39 +0200 Subject: [PATCH 2/2] changelog update --- docs/source/support/release-notes.rst | 2 ++ 1 file changed, 2 insertions(+) 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 --------------------