SWDEV-352197 - Destroy virtual device in thread destructor
Windows kills threads on exit without any notification. However, runtime can still destroy VirtualGPU object from the host thread with HostQueue destruction. This change also forces RGP trace transfer on the last capture without any delays. Change-Id: I768e87e99e1d23a021e63c12f36e450817743759
Этот коммит содержится в:
коммит произвёл
German Andryeyev
родитель
054ab2d4ae
Коммит
ad33a021cb
@@ -67,7 +67,6 @@ bool HostQueue::terminate() {
|
||||
marker->release();
|
||||
}
|
||||
thread_.acceptingCommands_ = false;
|
||||
thread_.Release();
|
||||
} else {
|
||||
if (Os::isThreadAlive(thread_)) {
|
||||
Command* marker = nullptr;
|
||||
|
||||
Ссылка в новой задаче
Block a user