mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +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;
|
||||
}
|
||||
|
||||
close_gpu_screen_recorder_output();
|
||||
|
||||
if(gpu_screen_recorder_process > 0) {
|
||||
kill(gpu_screen_recorder_process, SIGINT);
|
||||
int status;
|
||||
@@ -482,6 +480,8 @@ namespace gsr {
|
||||
gpu_screen_recorder_process = -1;
|
||||
}
|
||||
|
||||
close_gpu_screen_recorder_output();
|
||||
|
||||
free(xi_input_xev);
|
||||
free(xi_output_xev);
|
||||
if(xi_display)
|
||||
|
||||
Reference in New Issue
Block a user