aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cli
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2026-08-06 13:02:59 +0200
committerdec05eba <dec05eba@protonmail.com>2026-08-06 13:02:59 +0200
commite31968fc4074df739c00947b993ee19be4ef1caa (patch)
tree57f2d57cd9392bf28fe57e82bc25017a4c4d9d59 /src/cli
parent5db30f3fb99545524fc80f87ecc488972aec1711 (diff)
Faster shutdown time when several gb of replay data is in ram
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/main.c b/src/cli/main.c
index ac7de24..aaa315c 100644
--- a/src/cli/main.c
+++ b/src/cli/main.c
@@ -500,7 +500,7 @@ static int record(args_parser *arg_parser, gsr_windowing *windowing, gsr_capture
gsr_ipc_complete_request(ipc, GSR_IPC_DEFERRED_REQUEST_STOP, true, arg_parser->settings.is_replaying ? NULL : arg_parser->settings.filename);
gsr_ipc_stop(ipc);
- gsr_recorder_destroy(recorder);
+ gsr_recorder_destroy(recorder, true);
recorder = NULL;
return run_result;
}