video_core: amdgpu: proper destruction of processing thread

This commit is contained in:
psucien 2024-05-29 12:47:40 +02:00
parent fb237bddad
commit e5486cc57f
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Liverpool::Liverpool() {
Liverpool::~Liverpool() { Liverpool::~Liverpool() {
process_thread.request_stop(); process_thread.request_stop();
cv_submit.notify_one(); cv_submit.notify_one();
process_thread.join();
} }
void Liverpool::Process(std::stop_token stoken) { void Liverpool::Process(std::stop_token stoken) {