mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
c37a05f40c
commit
20f948bc08
|
@ -131,10 +131,8 @@ CameraSource& CameraSource::getInstance()
|
||||||
|
|
||||||
void CameraSource::destroyInstance()
|
void CameraSource::destroyInstance()
|
||||||
{
|
{
|
||||||
if (instance) {
|
delete instance;
|
||||||
delete instance;
|
instance = nullptr;
|
||||||
instance = nullptr;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user