1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

win32 camera ref-counting fix.

This commit is contained in:
jules 2012-12-24 17:56:46 +00:00
parent a20ff4c910
commit 70964f3f87

View file

@ -171,9 +171,14 @@ public:
for (int i = viewerComps.size(); --i >= 0;)
viewerComps.getUnchecked(i)->ownerDeleted();
if (sampleGrabber != nullptr)
{
sampleGrabber->SetCallback (nullptr, 0);
sampleGrabber = nullptr;
}
callback = nullptr;
graphBuilder = nullptr;
sampleGrabber = nullptr;
mediaControl = nullptr;
filter = nullptr;
captureGraphBuilder = nullptr;