Bug 1121855 - Fix camera crash. r=aosmond

This commit is contained in:
Becker Hsieh 2015-03-12 20:29:00 -04:00
parent 1b9f2f2023
commit 4846f12964

2
dom/camera/DOMCameraControl.cpp Normal file → Executable file
View File

@ -306,6 +306,8 @@ nsDOMCameraControl::nsDOMCameraControl(uint32_t aCameraId,
nsDOMCameraControl::~nsDOMCameraControl()
{
DOM_CAMERA_LOGT("%s:%d : this=%p\n", __func__, __LINE__, this);
/*invoke DOMMdediastream destroy*/
Destroy();
}
JSObject*