mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix closing video device after changing tab
This commit is contained in:
parent
0e9cfd948e
commit
83bcf2b8ae
|
@ -388,6 +388,7 @@ void AVForm::killVideoSurface()
|
|||
while ((child = bodyUI->gridLayout->takeAt(0)) != 0)
|
||||
delete child;
|
||||
|
||||
camVideoSurface->close();
|
||||
delete camVideoSurface;
|
||||
camVideoSurface = nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user