From 115c1e61582f9488e505f17fec7862c0820b89dc Mon Sep 17 00:00:00 2001 From: rob c Date: Thu, 23 Jun 2022 15:00:58 -0400 Subject: [PATCH] Fix a crash in recomputeClosure caused by failure to await the sm.init function inside of clean --- hylar/hylar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hylar/hylar.js b/hylar/hylar.js index 6b0c8c7..8d0deb7 100644 --- a/hylar/hylar.js +++ b/hylar/hylar.js @@ -179,10 +179,10 @@ class Hylar { await this.recomputeClosure() } - clean() { + async clean() { this.dict = new Dictionary(); this.sm = new TripleStorageManager(); - this.sm.init(); + await this.sm.init(); this.persist() }