mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 04:43:22 -05:00
Merge pull request #29563 from developer0hye:agent/msmf-close-event-handle
videoio(MSMF): close leaked SourceReaderCB Event handle 🤖🤖🤖
This commit is contained in:
@@ -566,6 +566,8 @@ private:
|
||||
// Destructor is private. Caller should call Release.
|
||||
virtual ~SourceReaderCB()
|
||||
{
|
||||
if (m_hEvent)
|
||||
CloseHandle(m_hEvent);
|
||||
CV_LOG_INFO(NULL, "terminating async callback");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user