mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 22:40:44 +09:00
Close gpu screen recorder output file after closing the process
This commit is contained in:
@@ -470,8 +470,6 @@ namespace gsr {
|
|||||||
notification_process = -1;
|
notification_process = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
close_gpu_screen_recorder_output();
|
|
||||||
|
|
||||||
if(gpu_screen_recorder_process > 0) {
|
if(gpu_screen_recorder_process > 0) {
|
||||||
kill(gpu_screen_recorder_process, SIGINT);
|
kill(gpu_screen_recorder_process, SIGINT);
|
||||||
int status;
|
int status;
|
||||||
@@ -482,6 +480,8 @@ namespace gsr {
|
|||||||
gpu_screen_recorder_process = -1;
|
gpu_screen_recorder_process = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close_gpu_screen_recorder_output();
|
||||||
|
|
||||||
free(xi_input_xev);
|
free(xi_input_xev);
|
||||||
free(xi_output_xev);
|
free(xi_output_xev);
|
||||||
if(xi_display)
|
if(xi_display)
|
||||||
|
|||||||
Reference in New Issue
Block a user