summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/state.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index cd47fe0..5ca2205 100644
--- a/src/state.c
+++ b/src/state.c
@@ -1305,8 +1305,13 @@ lilv_state_delete(LilvWorld* world,
state->dir, strerror(errno));
}
} else {
- // Still something in the manifest, reload bundle
+ // Still something in the manifest, update and reload bundle
+ const SerdNode* manifest_node = sord_node_to_serd_node(manifest->node);
+ SerdEnv* env = serd_env_new(manifest_node);
+
+ write_manifest(world, env, model, manifest_node);
lilv_world_load_bundle(world, bundle);
+ serd_env_free(env);
}
sord_free(model);