Skip to content

Commit ea4335f

Browse files
committed
fix(tests): detach cached stores before project deletion
1 parent 4790742 commit ea4335f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/test_operation_host.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ cbm_test_operation_host_t *cbm_test_operation_host_new(const char *store_path) {
6666
host->runtime.store_context = host->stores;
6767
host->runtime.project_invalidate = test_project_invalidate;
6868
host->runtime.project_invalidate_context = host->stores;
69+
host->runtime.project_detach = test_project_invalidate;
70+
host->runtime.project_detach_context = host->stores;
6971
host->runtime.cancelled = test_cancelled;
7072
host->runtime.cancelled_context = host->session;
7173
host->runtime.cancel_flag = cbm_operation_session_cancel_flag(host->session);

0 commit comments

Comments
 (0)