Skip to content

Commit

Permalink
return stopped recording code via process exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Aug 8, 2022
1 parent 7d7dfa2 commit d9a4b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void signal_stopped_recording(void* data, calldata_t* cd)
cout << rec_stop << std::endl;

cout << "Exiting process" << std::endl;
ExitProcess(0);
ExitProcess(code);
}

unsigned int __stdcall read_input_proc(void* lpParam)
Expand Down

0 comments on commit d9a4b27

Please sign in to comment.