Expose a single process_wait()
There were two versions: process_wait() and process_wait_noclose(). Expose a single version with a flag (it was already implemented that way internally).
This commit is contained in:
@@ -178,7 +178,7 @@ file_handler_stop(struct file_handler *file_handler) {
|
||||
if (!process_terminate(file_handler->current_process)) {
|
||||
LOGW("Could not terminate install process");
|
||||
}
|
||||
process_wait(file_handler->current_process); // ignore exit code
|
||||
process_wait(file_handler->current_process, true); // ignore exit code
|
||||
file_handler->current_process = PROCESS_NONE;
|
||||
}
|
||||
mutex_unlock(file_handler->mutex);
|
||||
|
||||
Reference in New Issue
Block a user