Clean up DirectShow Graph - DirectShow graph is not stopping
问题 I use DirectShowNet and when my Graph is stopped I release com objects. The problem is that while I try to release COM objects [ filters, interface] ,sometimes this cleanup cause directshow graph not STOPPED.It "suspend". If I do not make clen up [ release com objects] everthing is OK [ except i have memory leaks] ... Here is how i make clean up: if (videoWindow != nullptr) { Marshal::ReleaseComObject(videoWindow); videoWindow = nullptr; } if (mediaControl != nullptr) { Marshal: