Quick fix so ViE autotest doesn't terminate Linux windows twice on exit.
Review URL: http://webrtc-codereview.appspot.com/131016 git-svn-id: http://webrtc.googlecode.com/svn/trunk@544 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
2d9af90116
commit
436289f622
@ -44,13 +44,15 @@ void* ViEAutoTestWindowManager::GetWindow2()
|
||||
|
||||
int ViEAutoTestWindowManager::TerminateWindows()
|
||||
{
|
||||
if (_hwnd1)
|
||||
if (_hdsp1)
|
||||
{
|
||||
ViEDestroyWindow(&_hwnd1, _hdsp1);
|
||||
_hdsp1 = NULL;
|
||||
}
|
||||
if (_hwnd2)
|
||||
if (_hdsp2)
|
||||
{
|
||||
ViEDestroyWindow(&_hwnd2, _hdsp2);
|
||||
_hdsp2 = NULL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user