video_core: amdgpu: proper destruction of processing thread
This commit is contained in:
parent
fb237bddad
commit
e5486cc57f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue